Commit Graph

681 Commits

Author SHA1 Message Date
Niko Matsakis 16e49002c7 Update src/borrow_check/region_inference/member_constraints.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 8c78b7dd81 Update src/borrow_check/region_inference/member_constraints.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 32b57634c3 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 b71caff442 Update src/borrow_check/region_inference/member_constraints.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis ae217e5775 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 f540a0ba41 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 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