Commit Graph

656 Commits

Author SHA1 Message Date
Rajkumar Natarajan 5025bb7ca3 issue 130 stabilization guide 2019-01-17 18:56:02 -06:00
Who? Me?! 8c5ceb8126 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! a47d28bbee Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan 57d867e4da issue 130 stabilization guide 2019-01-17 18:56:02 -06:00
Rajkumar Natarajan 0a8334d73f issue 130 stabilization guide 2019-01-17 18:56:02 -06:00
Who? Me?! 88d58318b2 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! 488548babb Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan dcab12c5ee issue_180 incorporated the review comments 2019-01-17 18:56:02 -06:00
Who? Me?! dee61dff39 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! 9be6da3bf3 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! 9f4b9d8ced Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! fe38640965 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! e2affaf077 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! ea8749dd12 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan 69005b5daa issue_130_stabilization_guide 2019-01-17 18:56:02 -06:00
Niko Matsakis 2e56207594 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 a709cedfa2 Mention old incr. comp. design doc 2019-01-04 15:23:15 +01:00
Philipp Hansch 3c5065f08a 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 8a96fc0003 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 9198dcb431 Do what the last commit said it did 2018-12-23 22:49:56 -06:00
ednix edcb7919f3 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?! 4e32d89e04 Fix link 2018-12-23 15:15:17 -06:00
Roberto Vidal 2a0f15148b Fixes broken links 2018-12-14 17:30:13 -06:00
Oliver Scherer fdec17d475 Add graphs that I forgot to push in the original PR 2018-12-14 17:29:38 -06:00
Dan Robertson bb91e56438 Fix link to rustc_mir::hair::cx::expr 2018-12-11 21:58:29 -06:00
Mark Mansi c2b136e435 update a couple of links 2018-12-11 15:29:38 -06:00
Mark Mansi b1f84cf70b added example, reworked inference section 2018-12-11 15:22:17 -06:00
Mark Mansi 53ab47354e a few updates 2018-12-11 14:46:35 -06:00
Alex Crichton a5c03a7d47 Add some documentation about updating LLVM 2018-12-07 15:43:59 -06:00
Edd Barrett 0d5c72a88d Provide a Python example. 2018-12-03 12:07:30 -06:00
Edd Barrett 2da7be9ca0 Explain how to check if gdb supports Python. 2018-12-03 12:07:30 -06:00
Edd Barrett 15d8147eb2 Mention that tests need a Python-enabled gdb. 2018-12-03 12:07:30 -06:00
Andy Wortman e3c1238b29 fix some linkrotted links 2018-12-01 21:57:43 -06:00
yui-knk a3d667ee31 Fix the file path where AST is defined 2018-12-01 15:11:25 -06:00
Who? Me?! 06fab883f7 fix relative link (#242) 2018-11-26 15:24:39 -06:00
Niko Matsakis 653c9e3c09 Merge pull request #237 from mark-i-m/walkthrough
start on walkthrough
2018-11-26 15:28:17 -05:00
Mark Mansi 185d1ff913 add link to stabilization pr 2018-11-26 11:06:41 -06:00
Niko Matsakis 56a4e40e20 Merge pull request #228 from tmandry/traits-slg
Add traits SLG solver section
2018-11-20 14:08:02 -05:00
Tyler Mandry f5cb41ca90 SLG: Add links and mark-i-m's suggestions 2018-11-19 18:51:49 -06:00
Mark Mansi c1fdc3b375 finish walkthrough 2018-11-19 15:34:02 -06:00
Félix Fischer 16da1bc2a6 Fix typo (#238)
"is is" ~> "it is"
2018-11-14 21:46:25 -06:00
Mark Mansi 222e24e73b add a bit more 2018-11-11 16:32:11 -06:00
Mark Mansi b2ac22f080 add a bit more 2018-11-10 22:41:27 -06:00
Mark Mansi 92c0e341db start on walkthrough 2018-11-10 22:06:15 -06:00
Oliver Scherer 4252f1753a Don't try to build some example code snippets 2018-11-09 19:17:49 -06:00
Oliver Scherer 073588bc59 Line length checks 2018-11-09 19:17:49 -06:00
Oliver Scherer 5fd83b7d44 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?! c9f929122a Clarify aggregates
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?! 203a545285 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?! cc33639a95 english is hard
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?! 7d4e8fade7 caps nit
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?! 13a9a2c9ab Grammar nit
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Oliver Scherer 5c1574d43f Fix tidy 2018-11-09 19:17:49 -06:00
Oliver Scherer ee6dcdb221 Address most other review comments 2018-11-09 19:17:49 -06:00
Niko Matsakis d8c2025b02 Explain the unpack! macro 2018-11-09 19:17:49 -06:00
Oliver Scherer a6843376d8 Split overcomplicated sentence into two 2018-11-09 19:17:49 -06:00
Oliver Scherer e5017443f2 Link to docs and address some review comments 2018-11-09 19:17:49 -06:00
Oliver Scherer dd84db1f25 Document MIR building somewhat 2018-11-09 19:17:49 -06:00
Aleksey Kladov c5c2df2f87 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 817a8879c9 Fixed Spelling Mistake In MIR/index.md - "alloated" 2018-11-09 18:08:51 -06:00
Mark Mansi 94b006e20d fill out the borrowck chapter a bit more 2018-11-08 21:34:17 -06:00
Mark Mansi 0614aad0de add a few links to rustdocs 2018-11-08 20:38:14 -06:00
Mark Mansi 55f8aae0e1 minor improvements 2018-11-08 20:29:45 -06:00
Aleksey Kladov 69554f57e1 Remove reference to copyright comment
We don't need them anymore
2018-11-08 20:02:48 -06:00
Aleksey Kladov 31e80c3b00 Rename trans to codegen 2018-11-08 12:36:11 -06:00
kenta7777 14eaf2a2d0 removed jemalloc statements. 2018-11-07 08:59:17 -06:00
kenta7777 910e243eb1 revised a jemalloc statement in how-to-build-and-run.md 2018-11-07 08:59:17 -06:00
Tom Tromey 60c7a824e1 Document ignore-llvm-version
This documents the ignore-llvm-version directive.
2018-11-06 16:35:13 -06:00
Tyler Mandry 85fdcfdd1f 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 54abc3bd9d SLG: Add intro 2018-11-04 09:38:56 -06:00
Niko Matsakis c31a7a8076 Merge pull request #222 from scalexm/wf
Write well-formedness checking chapter
2018-11-03 06:28:36 -04:00
Tyler Mandry 9aa8454682 Copy chalk_engine README 2018-11-02 16:20:56 -05:00
scalexm e10e62d514 Fix nits 2018-11-02 21:50:36 +01:00
Niko Matsakis 2147a13b73 Merge pull request #223 from tmandry/improve-chalk-overview
Update chalk overview
2018-11-02 15:55:51 -04:00
Who? Me?! 5a6fb3a4a6 Clarify why 'static is free 2018-10-31 20:44:30 -05:00
Who? Me?! 3e47ef6aa5 Missing link 2018-10-31 20:43:46 -05:00
Tyler Mandry ff42f3cb54 Chalk Overview: Fill in testing section 2018-10-30 18:06:31 -05:00
Tyler Mandry 0e9d1a7afa Chalk Overview: Organize and sort links 2018-10-30 18:06:31 -05:00
Tyler Mandry 4a8803cd10 Chalk Overview: Update old content 2018-10-30 18:06:25 -05:00
Tyler Mandry 4da740321c Fix a few more things
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-30 22:15:22 +01:00
Tyler Mandry c50ab556c0 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 26d5a3c5a6 Move Resources to bottom 2018-10-29 22:27:26 -05:00
Tyler Mandry 1ea546df15 Add section on chalk structure 2018-10-29 22:16:17 -05:00
Who? Me?! 7c421819ad Fix a few things
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-29 22:43:44 +01:00
scalexm c75eb12084 Fix code blocks 2018-10-29 18:58:13 +01:00
scalexm 5334c1265f Add some examples for impls 2018-10-29 16:18:26 +01:00
scalexm f460f832ba Write well-formedness checking chapter 2018-10-29 14:38:17 +01:00
Tom Tromey 9421be7566 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 910326f2a9 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 be6613169a Get excited 2018-10-26 13:43:31 -05:00
Tyler Mandry 20d244d326 Add status of regions 2018-10-26 13:43:31 -05:00
Tyler Mandry fe76ff64ae Associated types: Break up text for readability 2018-10-26 13:43:31 -05:00
Tyler Mandry 9f5428144f Associated types: Mention "lazy normalization" somewhere 2018-10-26 13:43:31 -05:00
Tyler Mandry e6ca31cb00 Traits: Improve index layout, add chalk blurb 2018-10-26 13:43:31 -05:00
Tyler Mandry af51d27eac Reflect traits chapter structure in index key ideas 2018-10-26 11:09:46 -05:00
Tyler Mandry 63b30cc5c2 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 0fa9487b4f 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?! 438e686c7c Update src/traits/caching.md
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
Who? Me?! c9229c1c84 Update src/traits/hrtb.md
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
Who? Me?! cb7e82cabd Update src/borrow_check/region_inference.md
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
Who? Me?! 52033755c3 Update src/borrow_check/region_inference.md
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
csmoe 68d30b64cf replace bound region with placeholder 2018-10-24 23:22:17 -05:00
csmoe e4df53b93d clean up skolemiza in traits 2018-10-24 23:22:17 -05:00
csmoe 3c318049dc clean up skolemiza in borrow_ck 2018-10-24 23:22:17 -05:00
csmoe f177b07847 clean up skolemiza in glossary 2018-10-24 23:22:17 -05:00
Rajkumar Natarajan fb6066b188 issue_100_4 Updated the rustc documentation location 2018-10-24 19:32:09 -05:00
Who? Me?! 9a741d13b9 Add a note on bisecting 2018-10-23 16:27:58 -05:00
scalexm 8a533773d4 Clarify wording 2018-10-22 12:18:04 -05:00
Who? Me?! 59eb0f085c Fix typos and punctuation
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-22 12:18:04 -05:00
scalexm 0e032c2870 Write implied bounds chapter 2018-10-22 12:18:04 -05:00
scalexm 7117abcc53 Change wording 2018-10-22 12:14:46 -05:00
Who? Me?! 688c00f9ff Fix typo
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-22 12:14:46 -05:00
Who? Me?! e38936af44 Add an apostrophe
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-22 12:14:46 -05:00
scalexm cd3afd5ed6 Polish lowering chapters and update rules 2018-10-22 12:14:46 -05:00
Who? Me?! 70b91d54a5 Fix typo 2018-10-19 23:03:00 -05:00
Collins Abitekaniza 4aba655b92 fix typo in build instructions 2018-10-19 21:37:01 -05:00
Rajkumar Natarajan 4b8ba80e57 updated with review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan e2d42fd84c issue-130 updated the review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan 497925ada7 issue-130 incorporate the review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan df96e80e0d issue-130 copy contents related x.py from rust-forge 2018-09-29 08:50:30 -05:00
David Sanders 8f85624f2b Typo nits #181 (#205) 2018-09-28 20:47:52 -05:00
Alcaro b9d3a71115 conventions: Fix semicolon/colon typo 2018-09-28 20:04:05 -05:00
Tom Tromey ddde77fd15 Document no-system-llvm 2018-09-28 13:00:41 -05:00
Mark Mansi 58981d7649 Fix all the links! 2018-09-21 15:54:25 -05:00
Mark Mansi 254e3c73d1 fix the last link 2018-09-21 15:54:25 -05:00
Mark Mansi 0ccae015cb Fix all the links to be relative for mdbook 2 2018-09-21 15:54:25 -05:00
Philipp Hansch 528783be87 Fix line lengths 2018-09-12 07:33:41 +02:00
Philipp Hansch 32abc8af93 Fix typos
These were fixed using [codespell](https://github.com/codespell-project/codespell).
2018-09-12 07:32:18 +02:00
Niko Matsakis c749bb2272 ignore various sample tests 2018-09-11 16:43:36 -04:00
Niko Matsakis 83ef63b957 fix glossary links 2018-09-11 16:31:47 -04:00
Niko Matsakis 2ec5fadf5e address nits 2018-09-11 16:31:47 -04:00
Niko Matsakis b92a92507f add content 2018-09-11 16:31:47 -04:00
Niko Matsakis 363ae64a2f rearrange to promote the borrow checker into its own section 2018-09-11 16:31:47 -04:00
Niko Matsakis ca8c8774ef wrap lines in `running.md` 2018-09-11 16:22:15 -04:00
Niko Matsakis a9dab83da1 wrap long lines 2018-09-11 12:02:58 -04:00
Niko Matsakis 016d366203 remove silly `note:` 2018-09-11 12:02:58 -04:00
Niko Matsakis b7976f5db2 fix some more typos 2018-09-11 12:02:58 -04:00
Niko Matsakis 8927461dfc fix typo, add link 2018-09-11 12:02:58 -04:00
Niko Matsakis 53eadd5f61 fix typos 2018-09-11 12:02:57 -04:00
Niko Matsakis 93037428ec note about why stage1/stage2 are different 2018-09-11 12:02:57 -04:00
Niko Matsakis 9af03dc027 wrap long lines 2018-09-11 12:02:57 -04:00
Niko Matsakis 4ba7b5da44 document keep-stage1 2018-09-11 12:02:57 -04:00
Philipp Hansch bae1d4f2d3 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 e0507c7bcb fix various bash snippets 2018-09-10 19:25:29 -05:00
Niko Matsakis b63805f74e links are always relative to root or what? 2018-09-10 19:25:29 -05:00
Niko Matsakis a08685d645 fix link 2018-09-10 19:25:29 -05:00
Niko Matsakis 325022270a add a note about the collector executable 2018-09-10 19:25:29 -05:00
Niko Matsakis a42c5d4556 update with njn's insight 2018-09-10 19:25:29 -05:00
Niko Matsakis 3d17ee3105 don't write `rust-prof` bur rather `<toolchain> 2018-09-10 19:25:29 -05:00
Niko Matsakis bb8f906b5d link to build-and-run, fix em-dash 2018-09-10 19:25:29 -05:00
Niko Matsakis 8259f84d51 say function, not fn 2018-09-10 19:25:29 -05:00
Niko Matsakis 54177e24e3 be consistent about bash snippets 2018-09-10 19:25:29 -05:00
Niko Matsakis 02cafc9b6c fix long lines 2018-09-10 19:25:29 -05:00
Niko Matsakis 32d9134202 switch to em-dash 2018-09-10 19:25:29 -05:00
Niko Matsakis 860e34b13a various nits from mark-i-m 2018-09-10 19:25:29 -05:00
Niko Matsakis 9ecda8c863 add a section about profiling with perf 2018-09-10 19:25:29 -05:00
Dale Wijnand f20f0c396b Write in English 2018-09-07 11:47:56 +01:00
Dale Wijnand f393341f79 No copyright notices on new tests 2018-09-07 11:46:53 +01:00
Niko Matsakis 2a00b5539d note about discussion channels 2018-08-31 23:03:48 -05:00
Niko Matsakis c26c6543bd includ some notes on finding bugs 2018-08-31 23:03:48 -05:00
Niko Matsakis 21222aaf4c fix various minor points 2018-08-31 23:03:48 -05:00
Niko Matsakis d133eefac1 adjust long lines 2018-08-31 23:03:48 -05:00
Niko Matsakis 837bb697ce add a section about the compiler team 2018-08-31 23:03:48 -05:00
Niko Matsakis 2ed78846ca tweak long line 2018-08-31 12:05:36 -05:00
Niko Matsakis 570f4404b1 sprinkle links to rustdoc through the HIR explanation 2018-08-31 12:05:36 -05:00
Sébastien Duquette dbb8d1b14f address review comment 2018-08-23 21:56:35 -05:00
Sébastien Duquette 399e53b8c6 Fix lines over 80 columns. 2018-08-23 21:56:35 -05:00
Sébastien Duquette f06248e4ef 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 e0df7b587b add rust,ignore to code snippets 2018-08-20 11:46:41 -05:00
Oliver Schneider 135b38859f Update existential-types.md 2018-08-20 11:46:41 -05:00
Oliver Schneider 4ef163470d Explain existential types 2018-08-20 11:46:41 -05:00
Josh Triplett 45482cb170 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 5c042aedab More descriptive name for #[test] implementation 2018-08-11 10:37:44 -05:00
John Renner 882e93a35a Shorten line length 2018-08-11 10:37:44 -05:00
John Renner a4a767e0bb Add testing chapter 2018-08-11 10:37:44 -05:00
Tom Tromey a2d8adadb1 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 d89965857f minor improvements 2018-07-16 20:52:29 -05:00
mark efdb3e4c95 add notes about generating llvm ir 2018-07-16 20:52:29 -05:00
mark 96f8893e57 line length 2018-07-16 20:52:29 -05:00
mark d7cd4780eb add a bit on llvm 2018-07-16 20:52:29 -05:00
mark 72b1ddf17e add a bit about buffered lints 2018-07-14 16:47:17 -05:00
mark e7f02b15fd update definitions 2018-07-10 21:35:45 -05:00
mark d20172b7fa Attempt to address review comments 2018-07-10 21:35:45 -05:00
mark f2ad47f0e1 define FileMap; fix #35 2018-07-10 21:35:45 -05:00
mark a9001481e9 fix lacking spaces 2018-07-09 21:45:49 -05:00
mark 8a49eb7686 fix all the not-en-dashes 2018-07-09 21:45:49 -05:00
Who? Me?! a27baed413 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?! f4106dae20 Quick fix: copy/paste error 2018-07-08 18:34:25 -05:00
Oliver Schneider f94133dcd6 md -> html 2018-07-08 17:41:12 -05:00
Oliver Schneider 1a5993b9ca Satisfy tidy checks 2018-07-08 17:41:12 -05:00
Oliver Schneider 3166fb9d3e Add some details about `DefId` creation 2018-07-08 17:41:12 -05:00
Oliver Schneider e54c0c413f Address review 2018-07-08 17:41:12 -05:00
Oliver Schneider edae077f8f Add some explanation of lowering ids 2018-07-08 17:41:12 -05:00
Zack M. Davis c4f4159f1d "and has" → "because it has" 2018-07-04 17:14:02 -05:00
Zack M. Davis a66550e48e 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 abccbe7139 mention lint-level command line flags as well as attributes 2018-07-04 17:14:02 -05:00
Zack M. Davis b2e7a7ef74 cautionary parenthetical about failing to emit a `DiagnosticBuilder` 2018-07-04 17:14:02 -05:00
Zack M. Davis 80cadf84c3 "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 badbb2daec `span_to_snippet` return value is a `Result`, not an `Option` 2018-07-04 17:14:02 -05:00
Zack M. Davis 5774db6f3a 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 fedeb6a9a0 Keep glossary definition of codegen 2018-06-26 19:04:30 -05:00
Alex Kitchens f5f669e97d 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 ffc7fdf490 Update query.md 2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu 2d95ba915a Update high-level-overview.md 2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu b961a49efe rustc: rename ty::maps to ty::query. 2018-06-25 21:20:30 -05:00
Zack M. Davis 2a82c7666d 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 e39c13d458 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 247ff14a43 Capitalize a word 2018-06-12 18:20:35 -05:00
scalexm 99e4f99e9e Add chalk rules for type defs 2018-06-12 18:20:35 -05:00
Niko Matsakis d3939fa152 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 031bdd42bb 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 12d8d7668d update trait ref 2018-06-08 20:38:38 -05:00
Mark Mansi 269dabd291 mention bless 2018-06-08 20:32:04 -05:00
Niko Matsakis 2e26dcb6bc 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 56d353991d fix build 2018-06-05 22:06:13 -05:00
Mark Mansi 428c7d6b4c Add bit about ctags; close #80 2018-06-05 22:06:13 -05:00
Mark Mansi 35838c9f66 fix typo 2018-06-04 22:18:14 -05:00
Mark Mansi d7e1878094 tests dont need to pass 2018-06-04 22:18:14 -05:00
Mark cebc5d8598 long line 2018-06-04 22:18:14 -05:00
Mark 785006ad62 Address review feedback 2018-06-04 22:18:14 -05:00
Mark b931fde9f5 add more on crater + perf runs 2018-06-04 22:18:14 -05:00
Mark Mansi 262e0add0c add a bit about crater 2018-06-04 22:18:14 -05:00
Mark Mansi 0ae47f45f5 A few more data structures to the code index 2018-06-04 20:26:40 -05:00
Mark Mansi d08cca96e5 add a bunch of type-related terms to glossary 2018-06-04 19:42:16 -05:00
Mark Mansi eec934f762 fix remaining links 2018-06-02 17:20:47 -04:00
Mark Mansi 30b6be0f7d first round of link fixes 2018-06-02 17:20:47 -04:00
Mark Mansi 1ad9dc34e5 mv traits 2018-06-02 17:20:47 -04:00
Mark Mansi 6017a9cf91 move mir 2018-06-02 17:20:47 -04:00
Mark Mansi 6246dbd9ed move appendix 2018-06-02 17:20:47 -04:00
Who? Me?! 659bde0203 clarify run-rustfix compiletest header 2018-06-02 16:06:00 -05:00
Tyler Mandry 5726ecbef2 Update lowering rules for GATs 2018-06-01 10:31:49 -05:00
Oliver Schneider b308d94e0a Merge pull request #142 from rust-lang-nursery/oli-obk-patch-1
Fixes #141
2018-05-29 22:56:45 +02:00
Oliver Schneider 053060c442 Satisfy travis 2018-05-29 16:31:32 +02:00
Oliver Schneider 86f694c1d4 Explain .fixed files 2018-05-29 15:37:24 +02:00
Oliver Schneider e25515fa7c Mention "run-rustfix" 2018-05-28 13:08:15 +02:00
Mark Mansi 2e7900d735 fix typo 2018-05-27 19:44:55 -05:00
Mark Mansi 8e744cddf5 line length 2018-05-27 19:44:55 -05:00
Mark Mansi b4fe77109c add more on applicabilities 2018-05-27 19:44:55 -05:00
Mark Mansi 9fe44f3f5a Address reviewers' comments 2018-05-27 19:44:55 -05:00
Mark Mansi 750267798f 80 chars 2018-05-27 19:44:55 -05:00
Mark Mansi f06a63bcf2 Add info about emitting lints and errors 2018-05-27 19:44:55 -05:00
Tyler Mandry 01f9d655ee Trait logic: Explain what each domain goal means 2018-05-27 16:11:27 -05:00
Tyler Mandry 3ea4a0b683 Clarify language in Trait Resolution 2018-05-27 16:11:27 -05:00
Takanori Ishibashi d491bce01d Fix typo 2018-05-27 13:11:59 -05:00
Oliver Schneider 4412b726d2 Fixes #141 2018-05-23 11:55:16 +02:00
Alex Kitchens a819c74358 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 812c9416fc The type is inferenced, not things itself. 2018-05-21 13:57:59 -05:00
Philipp Hansch 4025970742 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 75db8b32d4 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 379ce9ae66 invokations -> invocations 2018-05-15 10:15:16 -05:00