Commit Graph

629 Commits

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