Niko Matsakis
a90e3417f7
Update src/borrow_check/region_inference/constraint_propagation.md
...
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis
d4f8036b39
Update src/borrow_check/region_inference/constraint_propagation.md
...
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis
8858bdf8d2
Update src/borrow_check/region_inference/constraint_propagation.md
...
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis
6e64baba5e
Update src/borrow_check/region_inference/constraint_propagation.md
...
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis
53f83a9b1c
Update src/borrow_check/region_inference/constraint_propagation.md
...
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis
3435363ef3
Update src/borrow_check/region_inference/lifetime_parameters.md
...
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis
13691d6372
Update src/borrow_check/region_inference/lifetime_parameters.md
...
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis
989c943eb3
Update src/borrow_check/region_inference/lifetime_parameters.md
...
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis
5c92fc254e
Update src/borrow_check/region_inference/constraint_propagation.md
...
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis
bd347df751
adjust overview slightly
2019-06-26 11:05:58 -05:00
Niko Matsakis
472f4e8367
describe region inference and member constraints in some detail
2019-06-26 11:05:58 -05:00
Niko Matsakis
4615a9a1f7
start filling out the constraint propagation chapter in more detail
2019-06-26 11:05:58 -05:00
Niko Matsakis
83ab6e4296
break out parts of the region inference chapter into sub-chapters
2019-06-26 11:05:58 -05:00
Niko Matsakis
40e8461973
fix typo
2019-06-26 11:05:58 -05:00
Mark Mansi
85c0616288
avoid ftp links
2019-06-26 10:45:56 -05:00
Mark Mansi
979387d4c2
fix broken links
2019-06-26 10:45:56 -05:00
Mark Mansi
bb872a6072
add bibligraphy appendix
2019-06-26 10:45:56 -05:00
flip1995
6f50f15f7a
Change stage0 cfg_attr to bootstrap
2019-06-24 09:51:06 -05:00
b41sh
43ac5672c3
fix compiler-team
2019-06-24 09:50:28 -05:00
Amanjeev Sethi
76a7f1085e
Added Rustc Debugger Support Chapter
2019-06-20 20:54:40 -05:00
Mark Mansi
f55e97c145
fix typos
2019-06-15 17:29:12 -05:00
Eduard-Mihai Burtescu
f675e36941
Update for TyCtxt<'a, 'gcx, 'tcx> -> TyCtxt<'tcx>.
2019-06-15 16:58:30 -05:00
Mark Mansi
c15c60938a
fix ci failures, typos, broken links
2019-06-15 16:57:18 -05:00
Mark Mansi
9a4ff92b8e
Some edits to address review comments
2019-06-15 16:57:18 -05:00
Blitzerr
ea6f6b516b
Notes about closure de-sugaring
2019-06-15 16:57:18 -05:00
Mark Mansi
8dfb8c1f9e
add note about rebuilding llvm
2019-06-15 16:30:28 -05:00
Jonathan Behrens
885ab7e860
Changes to config.toml require a clean
2019-06-15 16:06:20 -05:00
Jonas Schievink
d97d111c2e
Fix a few typos in type inference chapter
...
Also try to test the top example
2019-06-13 19:49:30 -05:00
Who? Me?!
eda82ca8c9
Update how-to-build-and-run.md
2019-06-11 11:55:03 -05:00
Who? Me?!
14f353e9d8
Update how-to-build-and-run.md
2019-06-11 11:55:03 -05:00
Who? Me?!
53961054c8
Update compiler-debugging.md
2019-06-11 11:55:03 -05:00
Who? Me?!
af46ee4449
use debug instead of debuginfo-level
2019-06-11 11:55:03 -05:00
mdsimmo
9015f537ab
Replaced tabs with spaces
2019-06-07 15:32:02 -05:00
mdsimmo
2290cd1037
correct indentation
...
Indentation consistently 4 spaces and Part 1/Part2 contain everything else
2019-06-07 15:32:02 -05:00
Vadim Petrochenkov
3ac9cfc9c9
Update information about debuginfo configuration
2019-06-02 19:36:58 -05:00
mark
52d423e1b3
fix long line
2019-06-02 19:32:17 -05:00
Vallentin
c2ced29a08
Fixed misspelling
2019-06-02 19:24:11 -05:00
Santiago Pastorino
2755796a29
Add more info subsection with links to forge and rustc api docs
2019-05-28 17:51:08 -03:00
Julian Wollersberger
14b243de25
Renamed the file and title of the diagnostics chapter.
...
When I recently searched for infos in this guide on how to create
a warning, I couldn't find any. Later I found it through #14 .
The reason was that I didn't know the term 'diagnostics' and that
it is the collective term for errors, warnings and lints.
Renaming the chapter to include the word 'error' should help.
I think also including 'warning' in the title shouldn't be
neccessary, because it's close enought.
2019-05-17 11:02:08 -05:00
Iñaki Garay
673b4a4b4c
Added rustc phases diagram and explanation
...
Added rustc build phase diagram and explanation
2019-05-15 09:39:50 -05:00
varkor
72bafaca4f
Mention running tests for subdirectories
2019-05-15 09:38:51 -05:00
Iñaki Garay
2972cf43a8
Fixed links broken by merging chalks rules and solve
2019-05-15 09:34:04 -05:00
Michael Woerister
243863e487
Add documentation about profile-guided optimization.
2019-05-14 11:19:21 -05:00
Tom Mulvaney
3cb727b62b
Fix typo, 'which' repeated twice
2019-05-07 09:53:32 -05:00
Niko Matsakis
37e4af3fa4
Merge pull request #304 from rasendubi/fix-canonicalization
...
[canonicalization] fix result canonicalization example
2019-05-04 07:01:32 -04:00
Yuki Okushi
2b8280f113
Rename to RUSTC_LOG
2019-05-03 15:04:24 -05:00
Iñaki Garay
2ecb52cb2d
Added mention of universal ctags
2019-05-03 11:48:45 -05:00
guilherme
b05cfab80b
Fix link in walkthrough
2019-05-01 22:22:29 -05:00
Nicolas
786d85c10e
Remove IRC from discussion chats
2019-05-01 22:20:10 -05:00
Alex Crichton
b68e57b705
Bring the updating LLVM guide up to date
2019-05-01 22:18:48 -05:00
Iñaki Garay
e905e3aa17
Fixed broken chalk links
2019-04-25 20:17:28 -05:00
Matthew Jasper
dca6649b72
Add documentation for two-phase borrows
2019-04-24 17:29:05 -05:00
Oliver Scherer
ad07f7fac5
Explain new powers of the `treat-err-as-bug` flag
2019-04-24 09:04:12 -05:00
Alexey Shmalko
92219f29bb
Update lowering-module test case
2019-04-23 12:30:52 -05:00
Alexey Shmalko
a0ab5fac4b
[canonicalization] fix result canonicalization example
2019-04-20 23:00:13 +03:00
Alexey Shmalko
99e1b1d536
Update BodyId description
...
It is now a newtype'd HirId, not NodeId.
See https://github.com/rust-lang/rust/pull/58167 .
2019-04-20 09:57:54 -05:00
Alexey Shmalko
813cdf613e
Update test-implementation chapter to current code
...
`test_main_static` is now used instead of `test_static_main`.
The libsyntax no longer generates a `TESTS` constant but rather passes
all test cases directly into `test_main_static` as a slice.
Update the guide accordingly.
2019-04-17 22:28:36 -05:00
Mark Mansi
aa7bb2bc5d
update chalk with new organization
2019-04-16 16:23:26 -05:00
Mark Mansi
2ef961e454
move to subsection
2019-04-16 15:37:46 -05:00
Mark Mansi
b95f349389
fix MovePathIndex link
2019-04-16 15:37:11 -05:00
Alexey Shmalko
7503057194
Update query chapter for the query macro rewrite
...
There was a big macro rewrite in these pull requests:
https://github.com/rust-lang/rust/pull/56462
https://github.com/rust-lang/rust/pull/59517
Update the query chapter to describe the new macro usage.
2019-04-16 15:36:32 -05:00
Zack M. Davis
07d1d3c83b
subchapter with information about `--error-format json`
2019-04-16 14:10:52 -05:00
Krishna Sannasi
d785946373
Update query-evaluation-model-in-detail.md
...
Fix typo in the example
2019-04-13 13:13:28 -05:00
mark
464cb5b166
oops
2019-03-23 18:39:14 -05:00
mark
9b06a122e4
Use eddyb's suggestion from #11 about logging
2019-03-23 18:39:14 -05:00
Denys Zariaiev
9df878f4b8
Add a note about `assembly` test suite.
2019-03-22 16:30:05 -05:00
Dan Robertson
67ec74d629
Update link to debugging codegen
2019-03-22 16:29:47 -05:00
Alexander Regueiro
c7d4e2fde2
Small fix to code for checking feature gate
2019-03-22 15:50:31 -05:00
Zoxc
07b4c151bc
Merge pull request #288 from mark-i-m/fix-links
...
Fix links
2019-03-20 08:02:50 +01:00
mark
5c827ef97b
address Zoxc's comments
2019-03-19 19:02:59 -05:00
Santiago Pastorino
e627f5031a
Add experts map section to compiler team page
2019-03-15 17:32:05 -05:00
varkor
960ddd6221
Fix mask -> tag terminology
2019-03-15 17:30:37 -05:00
Mark Mansi
e8370fda83
update rustc driver chapters
2019-03-15 17:25:12 -05:00
Mark Mansi
4013f453e5
chalk has moved to rust-lang
2019-03-15 17:24:46 -05:00
Niko Matsakis
aa9bb67c62
Merge pull request #273 from mark-i-m/conventions
...
Update Conventions chapters, add chapter on dependencies
2019-03-13 13:44:02 -04:00
Mark Mansi
fea9c2361f
fix link
2019-02-23 18:14:47 -06:00
Mark Mansi
2ebab6532b
Organize and finish debugging chapters
2019-02-23 18:14:47 -06:00
Who? Me?!
ed6f17eb43
Update src/implementing_new_features.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?!
41dee19fd3
Update src/implementing_new_features.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?!
46d99ee25a
Update src/implementing_new_features.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Rajkumar Natarajan
c0a6e0b49b
issue_130_7 updated with review comments
2019-02-23 18:12:58 -06:00
Who? Me?!
e15b26b349
Update src/implementing_new_feature.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?!
4a53240fb4
Update src/implementing_new_feature.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?!
04995a5ad0
Update src/implementing_new_feature.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?!
c9df17bd53
Update src/implementing_new_feature.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?!
08522e27ec
Update src/SUMMARY.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Rajkumar Natarajan
f59ed9dbc5
issue_130_7 implementing new features
2019-02-23 18:12:58 -06:00
Alexander Regueiro
10fb45ee27
Small clarifications to glossary definitions
2019-02-18 20:14:41 -06:00
varkor
d911ba15a2
Ignore Rust snippet
2019-02-18 17:48:15 -06:00
varkor
99d47b84c6
Add more information and an example to Kind chapter
2019-02-18 17:48:15 -06:00
varkor
7cc2afab20
Add preliminary chapter on kinds
2019-02-18 17:48:15 -06:00
varkor
de2ab38ddb
Add "drop glue" to the glossary
2019-02-18 12:34:28 -06:00
varkor
f420e427c7
Add "memoise" to the glossary
2019-02-18 12:34:28 -06:00
varkor
50bcd366db
Add "intern" to the glossary
2019-02-18 12:34:28 -06:00
varkor
ee661e8d61
Add "early-bound lifetime" and "late-bound lifetime" to the glossary
2019-02-18 12:34:28 -06:00
varkor
7ef92b9bb6
Add "item" to glossary
2019-02-18 12:34:28 -06:00
varkor
d94a06dd52
Add "lang item" to glossary
2019-02-18 12:34:28 -06:00
Zack M. Davis
50c84d1a87
`_with_applicability` methods are gone
...
The simpler `span_suggestion` method name now takes the applicability
argument, thanks to Andy Russell (rust-lang/rust@0897ffc28f ).
2019-02-06 10:31:58 -06:00
Michael Woerister
0ffc56b3a3
Merge pull request #270 from michaelwoerister/query-eval-model-update
...
Add "The Query Evaluation Model in Detail" and "Incremental Compilation In Detail" chapters.
2019-01-30 13:30:48 +01:00
Michael Woerister
808a9a1756
Add a more detailed description of how incremental compilation works.
2019-01-30 13:13:16 +01:00
Mark Mansi
3dadf436ad
add blurb about downloading artifacts; fix #77x
2019-01-29 11:16:11 -06:00
Mark Mansi
c7cdf9fe3e
better grouping, more links
2019-01-27 19:58:43 -06:00
Ralf Jung
1a98854e47
Typo
...
Co-Authored-By: mark-i-m <mark-i-m@users.noreply.github.com>
2019-01-27 19:58:43 -06:00
Mark Mansi
9600742738
fix updating-docs link, add regression test
2019-01-27 19:58:43 -06:00
Mark Mansi
e7d7e38e95
add comments from sunjay
2019-01-25 13:37:54 -06:00
Mark Mansi
b83f584379
add link to sunjay talk
2019-01-25 13:37:54 -06:00
Mark Mansi
658ce409c4
fix #182
2019-01-23 22:26:15 -06:00
Mark Mansi
bb3392e7d7
update conventions
2019-01-23 12:56:40 -06:00
Mark Mansi
952f9366b2
update text about copyright headers
2019-01-23 12:41:18 -06:00
Michael Woerister
54bf20498b
Add "The Query Evaluation Model in Detail" Chapter.
2019-01-23 15:37:14 +01:00
Oliver Scherer
9730697d1f
Merge pull request #266 from rchaser53/fix-miri
...
fix unwrap_u64 and to_raw_bits
2019-01-22 09:25:17 +01:00
Oliver Scherer
3a1620143f
Fix TokenStream link
2019-01-21 14:54:10 -06:00
rchaser53
4f0d4744b8
fix unwrap_u64 and to_raw_bits
2019-01-22 00:24:36 +09:00
rchaser53
3a79ba5432
fix related miri variables
...
rename variables like below
- Value => ConstValue
- PrimVal => Scalar
- Value::ByVal => ConstValue::Scalar
- Value::ByValPair => ConstValue::ScalarPair
2019-01-19 23:48:13 +09:00
mark
2c5ff5503a
better titles a la Niko
2019-01-18 15:51:53 -06:00
mark
8375007aa8
Reorganize the book into 3 parts
2019-01-18 15:51:53 -06:00
Who? Me?!
ae6381c6d7
Fix relative link
2019-01-18 14:09:30 -06:00
king6cong
be6722764c
Update the doc related to complier logging
2019-01-18 13:25:19 -06:00
Who? Me?!
1aadda5c5e
Update stabilization_guide.md
2019-01-17 18:57:05 -06:00
Rajkumar Natarajan
72237edfa4
issue 130 stabilization guide
2019-01-17 18:56:02 -06:00
Who? Me?!
fe1c4b73a1
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?!
996d9493a2
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan
a230029888
issue 130 stabilization guide
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan
c36a489d97
issue 130 stabilization guide
2019-01-17 18:56:02 -06:00
Who? Me?!
74fd971003
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?!
d3e8792c2c
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan
ca9e6be0c6
issue_180 incorporated the review comments
2019-01-17 18:56:02 -06:00
Who? Me?!
e680f28d05
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?!
0f82f1c5a1
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?!
8823da540f
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?!
ea37742d2c
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?!
dd43338012
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?!
afc027f7c5
Update src/stabilization_guide.md
...
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan
1590387f77
issue_130_stabilization_guide
2019-01-17 18:56:02 -06:00
Niko Matsakis
3f3f0e33a3
Merge pull request #234 from mark-i-m/mir_borrowck
...
Fill out the borrowck chapter a bit more
2019-01-11 17:27:37 -05:00
Igor Matuszewski
134d2ba510
Mention old incr. comp. design doc
2019-01-04 15:23:15 +01:00
Philipp Hansch
615cf17b6f
Add IRLO to glossary
...
Someone was asking on Discord what it stands for. It's sometimes used in
GitHub issues, Twitter and other places.
2019-01-01 09:45:12 -06:00
ednix
5daaa54331
Fix formatting, follow 100 char line length limit
...
No idea why the Markdown stuff got dropped last time. Hopefully everything is fine now.
2018-12-23 22:49:56 -06:00
ednix
1b760946bd
Do what the last commit said it did
2018-12-23 22:49:56 -06:00
ednix
b85fc37753
Clarify line about RLS being unable to handle rustc
...
I based this clarification on this [answer](https://www.reddit.com/r/rust/comments/a8mk33/question_about_a_line_from_the_rust_compiler_book/ecbx1ma/ ) to
my question on Reddit.
2018-12-23 22:49:56 -06:00
Who? Me?!
451f00936a
Fix link
2018-12-23 15:15:17 -06:00
Roberto Vidal
28f67849e1
Fixes broken links
2018-12-14 17:30:13 -06:00
Oliver Scherer
aee77489fe
Add graphs that I forgot to push in the original PR
2018-12-14 17:29:38 -06:00
Dan Robertson
81b0c84f41
Fix link to rustc_mir::hair::cx::expr
2018-12-11 21:58:29 -06:00
Mark Mansi
2dfa301deb
update a couple of links
2018-12-11 15:29:38 -06:00
Mark Mansi
a69982d7f5
added example, reworked inference section
2018-12-11 15:22:17 -06:00
Mark Mansi
7acbc48d17
a few updates
2018-12-11 14:46:35 -06:00
Alex Crichton
f1caa8dd77
Add some documentation about updating LLVM
2018-12-07 15:43:59 -06:00
Edd Barrett
87830ff034
Provide a Python example.
2018-12-03 12:07:30 -06:00
Edd Barrett
8f0eaf3961
Explain how to check if gdb supports Python.
2018-12-03 12:07:30 -06:00
Edd Barrett
0f5df93b13
Mention that tests need a Python-enabled gdb.
2018-12-03 12:07:30 -06:00
Andy Wortman
a18f366010
fix some linkrotted links
2018-12-01 21:57:43 -06:00
yui-knk
344c4e437b
Fix the file path where AST is defined
2018-12-01 15:11:25 -06:00
Who? Me?!
3940e94a5e
fix relative link ( #242 )
2018-11-26 15:24:39 -06:00
Niko Matsakis
946d56bde9
Merge pull request #237 from mark-i-m/walkthrough
...
start on walkthrough
2018-11-26 15:28:17 -05:00
Mark Mansi
49c3d4a36e
add link to stabilization pr
2018-11-26 11:06:41 -06:00
Niko Matsakis
fe35892c78
Merge pull request #228 from tmandry/traits-slg
...
Add traits SLG solver section
2018-11-20 14:08:02 -05:00
Tyler Mandry
9b6d561a33
SLG: Add links and mark-i-m's suggestions
2018-11-19 18:51:49 -06:00
Mark Mansi
ad8ebf263c
finish walkthrough
2018-11-19 15:34:02 -06:00
Félix Fischer
a2404ba071
Fix typo ( #238 )
...
"is is" ~> "it is"
2018-11-14 21:46:25 -06:00
Mark Mansi
0f3cb5ef98
add a bit more
2018-11-11 16:32:11 -06:00
Mark Mansi
a5b158f044
add a bit more
2018-11-10 22:41:27 -06:00
Mark Mansi
07eb29fb1e
start on walkthrough
2018-11-10 22:06:15 -06:00
Oliver Scherer
6569862a80
Don't try to build some example code snippets
2018-11-09 19:17:49 -06:00
Oliver Scherer
ce79098344
Line length checks
2018-11-09 19:17:49 -06:00
Oliver Scherer
21beb7738a
Remove a sentence from the end of a chapter because it also appears right at the start of the chapter
2018-11-09 19:17:49 -06:00
Who? Me?!
f4978b5646
Clarify aggregates
...
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?!
030670699a
Missing connection between two consecutive sentences
...
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?!
33558bdac6
english is hard
...
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?!
9681f2cb88
caps nit
...
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?!
38947d5d2f
Grammar nit
...
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Oliver Scherer
8e708929c3
Fix tidy
2018-11-09 19:17:49 -06:00
Oliver Scherer
1dd3236827
Address most other review comments
2018-11-09 19:17:49 -06:00
Niko Matsakis
9660fbada5
Explain the unpack! macro
2018-11-09 19:17:49 -06:00
Oliver Scherer
02ce4af2b0
Split overcomplicated sentence into two
2018-11-09 19:17:49 -06:00
Oliver Scherer
a7c23651b7
Link to docs and address some review comments
2018-11-09 19:17:49 -06:00
Oliver Scherer
80b656fa7c
Document MIR building somewhat
2018-11-09 19:17:49 -06:00
Aleksey Kladov
bed7044bbd
document the interaction between macros and nameres
...
"The name resolution is a separate pass" is a wishful thinking :(
2018-11-09 19:11:32 -06:00
Gareth Ellis
9d2e781896
Fixed Spelling Mistake In MIR/index.md - "alloated"
2018-11-09 18:08:51 -06:00
Mark Mansi
9f435099c1
fill out the borrowck chapter a bit more
2018-11-08 21:34:17 -06:00
Mark Mansi
5194978cc7
add a few links to rustdocs
2018-11-08 20:38:14 -06:00
Mark Mansi
97e853022f
minor improvements
2018-11-08 20:29:45 -06:00
Aleksey Kladov
76be9f99d7
Remove reference to copyright comment
...
We don't need them anymore
2018-11-08 20:02:48 -06:00
Aleksey Kladov
6d01e7ceb2
Rename trans to codegen
2018-11-08 12:36:11 -06:00
kenta7777
dc9ceca103
removed jemalloc statements.
2018-11-07 08:59:17 -06:00
kenta7777
253affdfc5
revised a jemalloc statement in how-to-build-and-run.md
2018-11-07 08:59:17 -06:00
Tom Tromey
351f75b4eb
Document ignore-llvm-version
...
This documents the ignore-llvm-version directive.
2018-11-06 16:35:13 -06:00
Tyler Mandry
62c8d0465b
SLG: Replace heritage section with links to it elsewhere
...
Maybe we want to include this in the bibliography or something, though.
2018-11-04 09:50:18 -06:00
Tyler Mandry
69d42aa4ce
SLG: Add intro
2018-11-04 09:38:56 -06:00
Niko Matsakis
505c99f080
Merge pull request #222 from scalexm/wf
...
Write well-formedness checking chapter
2018-11-03 06:28:36 -04:00
Tyler Mandry
76a2c5eb86
Copy chalk_engine README
2018-11-02 16:20:56 -05:00
scalexm
cbb021e93f
Fix nits
2018-11-02 21:50:36 +01:00
Niko Matsakis
9fe13e7182
Merge pull request #223 from tmandry/improve-chalk-overview
...
Update chalk overview
2018-11-02 15:55:51 -04:00
Who? Me?!
9805434b94
Clarify why 'static is free
2018-10-31 20:44:30 -05:00
Who? Me?!
66e831eeb0
Missing link
2018-10-31 20:43:46 -05:00
Tyler Mandry
cf2682ae86
Chalk Overview: Fill in testing section
2018-10-30 18:06:31 -05:00
Tyler Mandry
7f14c8254e
Chalk Overview: Organize and sort links
2018-10-30 18:06:31 -05:00
Tyler Mandry
b5024c3a73
Chalk Overview: Update old content
2018-10-30 18:06:25 -05:00
Tyler Mandry
fe9dc61b89
Fix a few more things
...
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-30 22:15:22 +01:00
Tyler Mandry
d2238c30b7
Move Crates section down
...
Nest existing content under Chalk Structure. I think it reads better
this way.
2018-10-29 22:34:23 -05:00
Tyler Mandry
b62fe76a35
Move Resources to bottom
2018-10-29 22:27:26 -05:00
Tyler Mandry
90716dc9da
Add section on chalk structure
2018-10-29 22:16:17 -05:00
Who? Me?!
e20f283a1e
Fix a few things
...
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-29 22:43:44 +01:00
scalexm
83652097f3
Fix code blocks
2018-10-29 18:58:13 +01:00
scalexm
b5dff2ed5f
Add some examples for impls
2018-10-29 16:18:26 +01:00
scalexm
462b7c3558
Write well-formedness checking chapter
2018-10-29 14:38:17 +01:00
Tom Tromey
34af41dddb
Document the rust-lldb directive
...
Commit ac33b2e578de58016271012452e4f1be6af9d516 added a `rust-lldb`
directive to restrict the lldb part of a debuginfo test to only
versions of lldb that include the Rust plugin.
2018-10-26 18:23:38 -05:00
Tyler Mandry
74e2af231b
Put "well-formedness checking" under "lowering rules"
...
This was also intended to be a reference chapter, according to @scalexm.
2018-10-26 13:43:31 -05:00
Tyler Mandry
2de4dc7a12
Get excited
2018-10-26 13:43:31 -05:00
Tyler Mandry
c41019adda
Add status of regions
2018-10-26 13:43:31 -05:00
Tyler Mandry
fbb3ec6744
Associated types: Break up text for readability
2018-10-26 13:43:31 -05:00
Tyler Mandry
99a23f84a7
Associated types: Mention "lazy normalization" somewhere
2018-10-26 13:43:31 -05:00
Tyler Mandry
c4708f8039
Traits: Improve index layout, add chalk blurb
2018-10-26 13:43:31 -05:00
Tyler Mandry
9ae8422607
Reflect traits chapter structure in index key ideas
2018-10-26 11:09:46 -05:00
Tyler Mandry
5c67241e1a
Group logic-related things under one section
...
I found the layout to be a bit inconsistent before. This groups anything
that touches logic rules under "Lowering to logic".
This might be crowding too many things under that section, but it makes
more sense to me overall.
2018-10-26 11:09:46 -05:00
Nikita Popov
34c9d3fc77
Update TypeVariants to TyKind
...
This has been renamed in https://github.com/rust-lang/rust/pull/53581 .
2018-10-26 11:05:19 -05:00
Who? Me?!
4196710286
Update src/traits/caching.md
...
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
Who? Me?!
e35e081b52
Update src/traits/hrtb.md
...
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
Who? Me?!
bd8d3f5f30
Update src/borrow_check/region_inference.md
...
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
Who? Me?!
8cbf135744
Update src/borrow_check/region_inference.md
...
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
csmoe
695728741e
replace bound region with placeholder
2018-10-24 23:22:17 -05:00
csmoe
294fcd31ac
clean up skolemiza in traits
2018-10-24 23:22:17 -05:00
csmoe
a07a6de51d
clean up skolemiza in borrow_ck
2018-10-24 23:22:17 -05:00
csmoe
8759055876
clean up skolemiza in glossary
2018-10-24 23:22:17 -05:00
Rajkumar Natarajan
607a58f8d2
issue_100_4 Updated the rustc documentation location
2018-10-24 19:32:09 -05:00
Who? Me?!
2fd124856d
Add a note on bisecting
2018-10-23 16:27:58 -05:00
scalexm
39cdd4f920
Clarify wording
2018-10-22 12:18:04 -05:00
Who? Me?!
2b8f3d40e1
Fix typos and punctuation
...
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-22 12:18:04 -05:00
scalexm
2df0fcfdfb
Write implied bounds chapter
2018-10-22 12:18:04 -05:00
scalexm
dfa38e973e
Change wording
2018-10-22 12:14:46 -05:00
Who? Me?!
ab89ea2446
Fix typo
...
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-22 12:14:46 -05:00
Who? Me?!
07bf5e332b
Add an apostrophe
...
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-22 12:14:46 -05:00
scalexm
3db38fe7f3
Polish lowering chapters and update rules
2018-10-22 12:14:46 -05:00
Who? Me?!
4aeae78bdb
Fix typo
2018-10-19 23:03:00 -05:00
Collins Abitekaniza
a01aa11b7b
fix typo in build instructions
2018-10-19 21:37:01 -05:00
Rajkumar Natarajan
ceff08f6b3
updated with review comments
2018-09-29 08:50:30 -05:00
Rajkumar Natarajan
61cadd2097
issue-130 updated the review comments
2018-09-29 08:50:30 -05:00
Rajkumar Natarajan
062e158a67
issue-130 incorporate the review comments
2018-09-29 08:50:30 -05:00
Rajkumar Natarajan
0f65024f26
issue-130 copy contents related x.py from rust-forge
2018-09-29 08:50:30 -05:00
David Sanders
d3b0eaed01
Typo nits #181 ( #205 )
2018-09-28 20:47:52 -05:00
Alcaro
946e11a578
conventions: Fix semicolon/colon typo
2018-09-28 20:04:05 -05:00
Tom Tromey
8871bd77b9
Document no-system-llvm
2018-09-28 13:00:41 -05:00
Mark Mansi
9297caaac3
Fix all the links!
2018-09-21 15:54:25 -05:00
Mark Mansi
d36f89182d
fix the last link
2018-09-21 15:54:25 -05:00
Mark Mansi
5ca9b3b326
Fix all the links to be relative for mdbook 2
2018-09-21 15:54:25 -05:00
Philipp Hansch
5ec3e1a620
Fix line lengths
2018-09-12 07:33:41 +02:00
Philipp Hansch
c4ac71e1d0
Fix typos
...
These were fixed using [codespell](https://github.com/codespell-project/codespell ).
2018-09-12 07:32:18 +02:00
Niko Matsakis
a6284183f8
ignore various sample tests
2018-09-11 16:43:36 -04:00
Niko Matsakis
d2cecbf3cd
fix glossary links
2018-09-11 16:31:47 -04:00
Niko Matsakis
87382baca6
address nits
2018-09-11 16:31:47 -04:00
Niko Matsakis
d453faee7a
add content
2018-09-11 16:31:47 -04:00
Niko Matsakis
0ab21a2aa5
rearrange to promote the borrow checker into its own section
2018-09-11 16:31:47 -04:00
Niko Matsakis
b655878d2c
wrap lines in `running.md`
2018-09-11 16:22:15 -04:00
Niko Matsakis
69cdc0a77e
wrap long lines
2018-09-11 12:02:58 -04:00
Niko Matsakis
4490acdbe6
remove silly `note:`
2018-09-11 12:02:58 -04:00
Niko Matsakis
576581da0d
fix some more typos
2018-09-11 12:02:58 -04:00
Niko Matsakis
8cbf9d0b01
fix typo, add link
2018-09-11 12:02:58 -04:00
Niko Matsakis
4a6c34a168
fix typos
2018-09-11 12:02:57 -04:00
Niko Matsakis
4ab5fec4c6
note about why stage1/stage2 are different
2018-09-11 12:02:57 -04:00
Niko Matsakis
7d87e3cab2
wrap long lines
2018-09-11 12:02:57 -04:00
Niko Matsakis
a2ad0a8eb2
document keep-stage1
2018-09-11 12:02:57 -04:00
Philipp Hansch
732dc4782e
Mention incremental compilation in testing chapter
...
The `--incremental` flag was only mentioned in [how_to_build_and_run] so
far. Faster testing means faster iteration and perhaps even more added
tests.
[how_to_build_and_run]: https://rust-lang-nursery.github.io/rustc-guide/how-to-build-and-run.html
2018-09-10 19:30:07 -05:00
Niko Matsakis
f72ba710ab
fix various bash snippets
2018-09-10 19:25:29 -05:00
Niko Matsakis
5665ed6a7a
links are always relative to root or what?
2018-09-10 19:25:29 -05:00
Niko Matsakis
694a90c19d
fix link
2018-09-10 19:25:29 -05:00
Niko Matsakis
fcbd9b907e
add a note about the collector executable
2018-09-10 19:25:29 -05:00
Niko Matsakis
85ed2e32de
update with njn's insight
2018-09-10 19:25:29 -05:00
Niko Matsakis
9a463df833
don't write `rust-prof` bur rather `<toolchain>
2018-09-10 19:25:29 -05:00
Niko Matsakis
37aa15e93f
link to build-and-run, fix em-dash
2018-09-10 19:25:29 -05:00
Niko Matsakis
cdc688451e
say function, not fn
2018-09-10 19:25:29 -05:00
Niko Matsakis
fb59bf5383
be consistent about bash snippets
2018-09-10 19:25:29 -05:00
Niko Matsakis
4e5ab2ac25
fix long lines
2018-09-10 19:25:29 -05:00
Niko Matsakis
f1e087db37
switch to em-dash
2018-09-10 19:25:29 -05:00
Niko Matsakis
5571290aac
various nits from mark-i-m
2018-09-10 19:25:29 -05:00
Niko Matsakis
44c05c72be
add a section about profiling with perf
2018-09-10 19:25:29 -05:00
Dale Wijnand
ad03ec4ee8
Write in English
2018-09-07 11:47:56 +01:00
Dale Wijnand
e731de5755
No copyright notices on new tests
2018-09-07 11:46:53 +01:00
Niko Matsakis
81fd1c02f2
note about discussion channels
2018-08-31 23:03:48 -05:00
Niko Matsakis
e295ad412e
includ some notes on finding bugs
2018-08-31 23:03:48 -05:00
Niko Matsakis
207e669c1f
fix various minor points
2018-08-31 23:03:48 -05:00
Niko Matsakis
7c200dffd7
adjust long lines
2018-08-31 23:03:48 -05:00
Niko Matsakis
3d094aa310
add a section about the compiler team
2018-08-31 23:03:48 -05:00
Niko Matsakis
5321d0059f
tweak long line
2018-08-31 12:05:36 -05:00
Niko Matsakis
f893fe8019
sprinkle links to rustdoc through the HIR explanation
2018-08-31 12:05:36 -05:00
Sébastien Duquette
581b5fc9cf
address review comment
2018-08-23 21:56:35 -05:00
Sébastien Duquette
a28a4cf252
Fix lines over 80 columns.
2018-08-23 21:56:35 -05:00
Sébastien Duquette
3aa13477d1
Rename CodeMap and FileMap to SourceMap and SourceFile.
...
Those types were renamed in https://github.com/rust-lang/rust/pull/52953
2018-08-23 21:56:35 -05:00
Niko Matsakis
7836a59e48
add rust,ignore to code snippets
2018-08-20 11:46:41 -05:00
Oliver Schneider
6533ccebba
Update existential-types.md
2018-08-20 11:46:41 -05:00
Oliver Schneider
9efa9f1346
Explain existential types
2018-08-20 11:46:41 -05:00
Josh Triplett
1f8e117292
Update copyright guidance to omit notices for new files.
...
Previously approved in https://github.com/rust-lang/rust/pull/43498 ;
update the guide to match.
2018-08-20 11:08:22 -05:00
John Renner
6568317234
More descriptive name for #[test] implementation
2018-08-11 10:37:44 -05:00
John Renner
61adf4cb4b
Shorten line length
2018-08-11 10:37:44 -05:00
John Renner
c13c5a019f
Add testing chapter
2018-08-11 10:37:44 -05:00
Tom Tromey
37141c0825
Update compiler test documentation
...
Update the compiler test documentation to document ignore-gdb-version
and min-system-llvm-version; and expand the min-gdb-version,
min-lldb-version, and min-llvm-version documentation a little.
2018-08-09 09:15:01 -06:00
mark
2a1387faae
minor improvements
2018-07-16 20:52:29 -05:00
mark
e0d07aad5f
add notes about generating llvm ir
2018-07-16 20:52:29 -05:00
mark
894893860d
line length
2018-07-16 20:52:29 -05:00
mark
57c8403c88
add a bit on llvm
2018-07-16 20:52:29 -05:00
mark
315ae44507
add a bit about buffered lints
2018-07-14 16:47:17 -05:00
mark
1a696569a8
update definitions
2018-07-10 21:35:45 -05:00
mark
d234211ca1
Attempt to address review comments
2018-07-10 21:35:45 -05:00
mark
bdcd161d20
define FileMap; fix #35
2018-07-10 21:35:45 -05:00
mark
337c64e4d2
fix lacking spaces
2018-07-09 21:45:49 -05:00
mark
37a202cdba
fix all the not-en-dashes
2018-07-09 21:45:49 -05:00
Who? Me?!
9112311803
Add the small amount i know about hygiene ( #167 )
...
* add the small amount i know about hygiene
* use en-dash
2018-07-09 21:28:29 +03:00
Who? Me?!
bf2f7c85b5
Quick fix: copy/paste error
2018-07-08 18:34:25 -05:00
Oliver Schneider
c52d026a1f
md -> html
2018-07-08 17:41:12 -05:00
Oliver Schneider
928470c8cc
Satisfy tidy checks
2018-07-08 17:41:12 -05:00
Oliver Schneider
f2e7ef1675
Add some details about `DefId` creation
2018-07-08 17:41:12 -05:00
Oliver Schneider
e8a0108259
Address review
2018-07-08 17:41:12 -05:00
Oliver Schneider
f394cd109c
Add some explanation of lowering ids
2018-07-08 17:41:12 -05:00
Zack M. Davis
79ebdb7b53
"and has" → "because it has"
2018-07-04 17:14:02 -05:00
Zack M. Davis
196d10ea87
rewrite suggestions intro to be less bizarrely edition/rustfix centric
...
The suggestions API was introduced in April 2015
(rust-lang/rust@906a9728ff ), long predating rustfix (initial commit July
2016) or editions (RFC 2052 approved September 2017).
2018-07-04 17:14:02 -05:00
Zack M. Davis
85645644db
mention lint-level command line flags as well as attributes
2018-07-04 17:14:02 -05:00
Zack M. Davis
2cb56f31fe
cautionary parenthetical about failing to emit a `DiagnosticBuilder`
2018-07-04 17:14:02 -05:00
Zack M. Davis
c345de354c
"easier" → "more informative"; omit needless clause
...
We don't want to leave the impression that spans are about making it
easier for compiler developers to perform the arduous task of emitting
an error; spans are about pointing to particular segments of code in the
emitted error messages. Also, we don't need to say "whenever an error
comes up"; that's implied by the phrase "error reporting."
2018-07-04 17:14:02 -05:00
Zack M. Davis
14ef432e48
`span_to_snippet` return value is a `Result`, not an `Option`
2018-07-04 17:14:02 -05:00
Zack M. Davis
95bdeacaea
add links for `Span`, `CodeMap`, and `rustfix`
...
It's unfortunate that `code-monospaced` links don't render with link
colors (such that the reader needs to hover over them just to tell that
it is a link), but that's presumably a bug in MdBook, and not something
we need concern ourselves with here.
2018-07-04 17:14:02 -05:00
Alex Kitchens
37872481ac
Keep glossary definition of codegen
2018-06-26 19:04:30 -05:00
Alex Kitchens
ec8d0498d6
Rename trans to codegen
...
This commit is a followup of changes from [b63d7e2b1c4019e40051036bcb1fd5f254a8f6e2](b63d7e2b1c (diff-b433c87466d984aa7eeded378ea6c392) ) in the Rust source to rename trans to codegen.
2018-06-26 19:04:30 -05:00
Eduard-Mihai Burtescu
7bf9416221
Update query.md
2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu
b1fa3579b8
Update high-level-overview.md
2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu
85d30364b0
rustc: rename ty::maps to ty::query.
2018-06-25 21:20:30 -05:00
Zack M. Davis
addc94950a
don't mention new rustdoc
...
Steve says it's not ready
(https://github.com/rust-lang-nursery/rustc-guide/pull/150#issuecomment-395783504 ).
2018-06-25 21:18:50 -05:00
Zack M. Davis
c98cd5a6a8
include `./` in example x.py commands for smoother copy-paste experience
...
The current directory is typically not on the user's $PATH.
2018-06-25 21:18:50 -05:00
scalexm
7139188c07
Capitalize a word
2018-06-12 18:20:35 -05:00
scalexm
529a75575b
Add chalk rules for type defs
2018-06-12 18:20:35 -05:00
Niko Matsakis
6317149ca4
Merge pull request #149 from rust-lang-nursery/mark-i-m-patch-1
...
clarify run-rustfix compiletest header
2018-06-10 16:10:37 -04:00
Niko Matsakis
8e6bcbe004
Merge pull request #153 from mark-i-m/code_index_01
...
A few more data structures to the code index
2018-06-10 16:10:11 -04:00
Mark Mansi
318057e479
update trait ref
2018-06-08 20:38:38 -05:00
Mark Mansi
7681b6ccc4
mention bless
2018-06-08 20:32:04 -05:00
Niko Matsakis
43f7be67d6
Merge pull request #152 from mark-i-m/glossary_more
...
add a bunch of type-related terms to glossary (and few others)
2018-06-08 10:44:20 -04:00
Mark Mansi
b43d9881e2
fix build
2018-06-05 22:06:13 -05:00
Mark Mansi
b859b33bbe
Add bit about ctags; close #80
2018-06-05 22:06:13 -05:00
Mark Mansi
63eaf6b11c
fix typo
2018-06-04 22:18:14 -05:00
Mark Mansi
390068501f
tests dont need to pass
2018-06-04 22:18:14 -05:00
Mark
35780c196e
long line
2018-06-04 22:18:14 -05:00
Mark
eaa2cc1946
Address review feedback
2018-06-04 22:18:14 -05:00
Mark
8ee1d91c38
add more on crater + perf runs
2018-06-04 22:18:14 -05:00
Mark Mansi
d0ad0c7bc1
add a bit about crater
2018-06-04 22:18:14 -05:00
Mark Mansi
809ca69001
A few more data structures to the code index
2018-06-04 20:26:40 -05:00
Mark Mansi
4a8412f3af
add a bunch of type-related terms to glossary
2018-06-04 19:42:16 -05:00
Mark Mansi
c0851bc66e
fix remaining links
2018-06-02 17:20:47 -04:00
Mark Mansi
55883c4a7e
first round of link fixes
2018-06-02 17:20:47 -04:00
Mark Mansi
13f38bebad
mv traits
2018-06-02 17:20:47 -04:00
Mark Mansi
1b0fe8995a
move mir
2018-06-02 17:20:47 -04:00
Mark Mansi
1af6fcfc67
move appendix
2018-06-02 17:20:47 -04:00
Who? Me?!
dab4531fdc
clarify run-rustfix compiletest header
2018-06-02 16:06:00 -05:00
Tyler Mandry
8a98e39750
Update lowering rules for GATs
2018-06-01 10:31:49 -05:00
Oliver Schneider
37f5f859a3
Merge pull request #142 from rust-lang-nursery/oli-obk-patch-1
...
Fixes #141
2018-05-29 22:56:45 +02:00
Oliver Schneider
2d387350e2
Satisfy travis
2018-05-29 16:31:32 +02:00
Oliver Schneider
79ea4eeb14
Explain .fixed files
2018-05-29 15:37:24 +02:00
Oliver Schneider
1a25691cb4
Mention "run-rustfix"
2018-05-28 13:08:15 +02:00
Mark Mansi
dbac00deda
fix typo
2018-05-27 19:44:55 -05:00
Mark Mansi
3ea3ff8c70
line length
2018-05-27 19:44:55 -05:00
Mark Mansi
1624ba9923
add more on applicabilities
2018-05-27 19:44:55 -05:00
Mark Mansi
8a79f8b881
Address reviewers' comments
2018-05-27 19:44:55 -05:00
Mark Mansi
c6ecc1f9b3
80 chars
2018-05-27 19:44:55 -05:00
Mark Mansi
5106793010
Add info about emitting lints and errors
2018-05-27 19:44:55 -05:00
Tyler Mandry
bb867865fe
Trait logic: Explain what each domain goal means
2018-05-27 16:11:27 -05:00
Tyler Mandry
2debb43b5a
Clarify language in Trait Resolution
2018-05-27 16:11:27 -05:00
Takanori Ishibashi
50f44216f4
Fix typo
2018-05-27 13:11:59 -05:00
Oliver Schneider
3d48815cf4
Fixes #141
2018-05-23 11:55:16 +02:00
Alex Kitchens
3b0d3f27a5
Define a Cycle
...
I wasn't clear on what a Cycle was when reading through the document.
Defining it will be helpful for other readers not familiar with it as
well.
2018-05-22 17:06:58 -05:00
Philipp Hansch
6315267608
The type is inferenced, not things itself.
2018-05-21 13:57:59 -05:00
Philipp Hansch
f91de90ea2
Add type inference example
...
This should make the chapter a bit more approachable, as it doesn't
start with a reference to the HM type inference algorithm.
2018-05-21 13:57:59 -05:00
Alex Kitchens
2bd5354411
Define HIR more specifically
...
IR is a foreign acronym to me, so having it fully expressed in the beginning as Intermediate Representation helps me comprehend the subject.
2018-05-20 19:08:25 -05:00
Takanori Ishibashi
2dc19d097a
invokations -> invocations
2018-05-15 10:15:16 -05:00
Niko Matsakis
9fc991d15f
Merge pull request #131 from sunjay/overview-of-chalk
...
Added An Overview of Chalk
2018-05-14 17:57:43 -04:00
Sunjay Varma
389bd079a8
Missed a few things because of GitHub's UI
2018-05-14 11:26:15 -07:00
Sunjay Varma
7f83d68118
Even more review changes
2018-05-14 11:21:20 -07:00
Sunjay Varma
edddf9fa3b
More review changes
2018-05-14 11:18:14 -07:00
Sunjay Varma
5f58b0dc98
Changes from review
2018-05-14 10:52:21 -07:00
Mark Mansi
b6f63df3eb
remove have completed
2018-05-12 15:04:25 -05:00
Mark Mansi
359e814c8c
reword HIR intro. Fix #116
2018-05-12 15:04:25 -05:00
Sunjay Varma
f601a3aaca
Updating links to match latest code
2018-05-11 17:14:26 -07:00
C Jones
c11f57a262
Make chapter links in compiletest not be code
...
mdBook doesn't display links inside code, so these links look very confusing.
Additionally, these types of links don't seem to be code on other pages of the book.
2018-05-11 17:58:17 -05:00
Sunjay Varma
b9eb2b6c13
Ignoring code examples that aren't actually compile-able
2018-05-10 15:48:24 -07:00
Sunjay Varma
58ef5a78de
Lines must be <= 80 characters UNLESS there is a link
2018-05-10 15:43:18 -07:00
Sunjay Varma
8cfd5c5aed
Added an overview of chalk
2018-05-10 15:24:02 -07:00
Sunjay Varma
0dc0dddb79
Closing all <a> tags
2018-05-10 14:46:44 -05:00
Sunjay Varma
eeddfdaf70
Deleted <a> tag which was messing up the associated types page
2018-05-10 14:46:44 -05:00
Tomáš Gavenčiak
45cb1d368b
Update adding.md
...
Rename `must-compile-successfully` to `compile-pass` in ui test doc as per https://github.com/rust-lang/rust/issues/49568 .
2018-05-10 13:18:30 -05:00
Rajkumar Natarajan
1cea2615e1
Issue84 Add note about ./x.py build
2018-05-10 08:14:43 -04:00
gnzlbg
e39ea751a0
Add how to run tidy script in isolation to text
...
This is already mentioned elsewhere, but important things are repeated twice.
Closes #124
2018-05-08 09:57:21 -05:00
Nick Fitzgerald
55ddb4df95
appendix-background: Link to *Static Program Analysis*
...
A+++++ resource IMHO!
2018-04-28 21:13:45 -05:00
Ehsan M.Kermani
7d4aee2431
lint add dots
2018-04-28 21:11:51 -05:00
Ehsan M.Kermani
9140b49321
fix max line len
2018-04-28 21:11:51 -05:00
Ehsan M.Kermani
30d20184b3
expand compilation stages
2018-04-28 21:11:51 -05:00
cg-cnu
eb396e7883
add: note about copy from rust-forge
2018-04-15 12:58:53 -05:00
cg-cnu
b4228a73ce
fix: changed rust code to bash formatting
2018-04-15 12:58:53 -05:00
cg-cnu
29572cd2e4
refactor: fixed typos, text formatting suggested in the review
2018-04-15 12:58:53 -05:00
cg-cnu
8e02b37349
refactor: Fixed all the lines exceeding more than 80 characters
2018-04-15 12:58:53 -05:00
cg-cnu
5653c13077
refactor: Change the name from debugging to compiler-debuggin.md
2018-04-15 12:58:53 -05:00
cg-cnu
81116ab977
Add: Added the instructions for debugging from rust-forge
2018-04-15 12:58:53 -05:00
Samuel Wilson
a87b323307
Add definition of a fat pointer, double pointer, and wide pointer
...
Definition referenced from Programming Rust by Jim Blandy & Jason
Orendorff, published by O'Reilly. Page 214: References to Slices
and Trait Objects.
Double pointer and wide pointer both refer to fat pointer for
detail.
2018-04-14 20:29:42 -05:00
Samuel Wilson
27a32adb72
Add definition of a fat pointer
...
Definition referenced from Programming Rust by Jim Blandy & Jason
Orendorff, published by O'Reilly. Page 214: References to Slices
and Trait Objects.
2018-04-14 20:29:42 -05:00
QuietMisdreavus
df6b73fb99
talk about `only-X` in compiletest
2018-04-10 20:44:29 -05:00
Rajkumar Natarajan
ad77d418fa
update nightly documention for issue#100-b
2018-04-06 21:40:18 -05:00
varkor
46864ca971
Fix unstable Rust code block issue
2018-04-06 14:18:08 -05:00
varkor
79eaa63c54
Fix spacing
2018-04-06 14:18:08 -05:00
varkor
8889dcd15d
Replace txt with text
2018-04-06 14:18:08 -05:00
varkor
43341c8894
Consolidate and fix code blocks
2018-04-06 14:18:08 -05:00
Rajkumar Natarajan
f25f298963
Fixing the long lines in appendix-stupid-status#100
2018-04-06 12:17:30 -05:00
Niko Matsakis
1aceb34508
link directly to the compile-input function
2018-04-06 12:17:30 -05:00
Rajkumar Natarajan
f5ff6d03be
Link to internal rustdocs#100
2018-04-06 12:17:30 -05:00
Philip Munksgaard
3c189daf2c
Fix typo in rustdoc.md
2018-04-03 10:15:57 -05:00
Dan Robertson
3d4332cd4f
Update links
...
Add missing link and add link for UFCS.
2018-03-29 08:35:25 -05:00
Tomáš Gavenčiak
4d5ad15ad4
Fix a typo
2018-03-27 20:03:56 +02:00
Tomáš Gavenčiak
36179fb741
Add info on test result caching
2018-03-27 11:36:14 -05:00
Mark Mansi
066ba9ef82
reformat basically the whole rustdoc.md
2018-03-26 20:28:00 -05:00
Mark Mansi
9e6cdf3de3
still more long lines
2018-03-26 20:28:00 -05:00
Mark Mansi
2bb61a3f59
More long lines
2018-03-26 20:28:00 -05:00
Mark Mansi
42ef2ad0b8
Fix long lines in conventions
2018-03-26 20:28:00 -05:00
Mark Mansi
80de3962fb
Fix long lines in const-eval
2018-03-26 20:28:00 -05:00
Mark Mansi
94757096ad
Fix long lines in compiletest
2018-03-26 20:28:00 -05:00
Mark Mansi
8615d9e9b0
Fix long lines in stupid stats appendix
2018-03-26 20:28:00 -05:00
Mark Mansi
cd053f3cb4
Fix long lines in glossary
2018-03-26 20:28:00 -05:00
Alexander Regueiro
e6acd30581
Hard-wrapped lines that are too long.
2018-03-26 20:28:00 -05:00
Dan Robertson
6136199bf5
Minor grammar and syntax fixes
...
Minor grammar and syntax fixes found while reading.
2018-03-25 13:50:58 +00:00
Niko Matsakis
28da7a02ac
describe how the lowering code works
2018-03-19 10:53:39 -04:00
Mark Mansi
1131ff4bba
Add incremental compilation debugging subchapter
2018-03-16 11:45:09 -05:00
Niko Matsakis
52787a6ec4
add names to the trait lowering rules
...
This allows cross-references from the code.
2018-03-15 15:01:40 -05:00
Who? Me?!
81071c6838
Updated parenthetical
2018-03-15 15:00:10 -05:00
Mark Mansi
7c2af89682
address review comments
2018-03-15 15:00:10 -05:00
Mark Mansi
21ed6e6ce4
Address review comments
2018-03-15 15:00:10 -05:00
Mark Mansi
a19cdc7a71
Add the rustdoc readme
2018-03-15 15:00:10 -05:00
Mark Mansi
e74567479d
Add the contents of the typeck READMEs
2018-03-12 19:39:56 -05:00
Mark Mansi
ed04741208
fix typo
2018-03-12 18:14:10 -05:00
Michael Bryan
9874533b6e
Added links back to nrc's stupid-stats
2018-03-12 17:41:01 -05:00
Michael Bryan
746753138a
Fixed a broken link
2018-03-12 17:41:01 -05:00
Michael Bryan
c919a89995
Updated stupid-stats
...
cc: nrc/stupid-stats#8
2018-03-12 17:41:01 -05:00
Michael Bryan
27225507d7
Addressed some of @nrc and @mark-i-m's comments
2018-03-12 17:41:01 -05:00
Michael Bryan
d28ae97736
Added a couple definitions to the code index
2018-03-12 17:41:01 -05:00
Michael Bryan
53aa601f7f
Thank you link checker!
2018-03-12 17:41:01 -05:00
Michael Bryan
121d05098c
Renamed appendices and added @nrc's guide
2018-03-12 17:41:01 -05:00
Michael Bryan
0da5774acb
Added a very rough rustc-driver chapter
2018-03-12 17:41:01 -05:00
Mark Mansi
ce45556483
Fix a few typos
2018-03-11 21:05:29 -05:00
Shanavas M
5dfe4f26c5
fix typo
2018-03-10 10:50:26 -06:00
Niko Matsakis
49e8e092c1
trailing whitespace
2018-03-10 07:11:11 -05:00
Niko Matsakis
d9f0a45a04
fix link
2018-03-10 07:10:44 -05:00
Niko Matsakis
994a38b198
update the summary landing page
2018-03-10 07:09:25 -05:00
Niko Matsakis
7a78a998ce
add implied bounds placeholder
2018-03-10 07:06:48 -05:00
Niko Matsakis
95f9957277
numerous edits
2018-03-10 07:06:48 -05:00
Niko Matsakis
53115310f7
rework canon section substantially to spell out steps more clearly
2018-03-10 07:06:48 -05:00
Niko Matsakis
22b5ec4796
update for notation
2018-03-10 07:06:48 -05:00
Niko Matsakis
c3a35021d6
add background material on trait queries
2018-03-10 07:06:48 -05:00
Niko Matsakis
3c8a827a37
expand reorder topic list slightly
2018-03-10 07:06:48 -05:00
Niko Matsakis
fd92491375
don't say 'thing'
2018-03-10 07:06:48 -05:00