Commit Graph

778 Commits

Author SHA1 Message Date
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
Eric Huss b52a3f6659 Update mdbook
Closes #138
Closes #160
2018-07-09 21:35:58 -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
mark 769b33c7e3 add a link to the rustc docs 2018-07-05 09:21:45 -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
Alexander Regueiro 36dffefd1a removed whitespace 2018-06-08 20:35:46 -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 11a2e465fc allow long relative links 2018-06-02 17:20:47 -04: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