Commit graph

323 commits

Author SHA1 Message Date
Oliver Schneider
83adaf3db5 md -> html 2018-07-08 17:41:12 -05:00
Oliver Schneider
43d5a02af4 Satisfy tidy checks 2018-07-08 17:41:12 -05:00
Oliver Schneider
a25810c027 Add some details about DefId creation 2018-07-08 17:41:12 -05:00
Oliver Schneider
cbce2e4a3c Address review 2018-07-08 17:41:12 -05:00
Oliver Schneider
86d807ba75 Add some explanation of lowering ids 2018-07-08 17:41:12 -05:00
mark
7efa4132cb add a link to the rustc docs 2018-07-05 09:21:45 -05:00
Zack M. Davis
19d6a4ace4 "and has" → "because it has" 2018-07-04 17:14:02 -05:00
Zack M. Davis
d771413d9d 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
6fd934ddea mention lint-level command line flags as well as attributes 2018-07-04 17:14:02 -05:00
Zack M. Davis
3a851001e0 cautionary parenthetical about failing to emit a DiagnosticBuilder 2018-07-04 17:14:02 -05:00
Zack M. Davis
fa644901e9 "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
0b7ea14346 span_to_snippet return value is a Result, not an Option 2018-07-04 17:14:02 -05:00
Zack M. Davis
c622464ef2 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
abfac5a722 Keep glossary definition of codegen 2018-06-26 19:04:30 -05:00
Alex Kitchens
3c51d758e2 Rename trans to codegen
This commit is a followup of changes from [b63d7e2b1c](b63d7e2b1c (diff-b433c87466d984aa7eeded378ea6c392)) in the Rust source to rename trans to codegen.
2018-06-26 19:04:30 -05:00
Eduard-Mihai Burtescu
5966f8e784 Update query.md 2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu
e7d4e79e3b Update high-level-overview.md 2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu
2b2972332f rustc: rename ty::maps to ty::query. 2018-06-25 21:20:30 -05:00
Zack M. Davis
a40bb3a5fb 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
e55064475d 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
eea3079a57 Capitalize a word 2018-06-12 18:20:35 -05:00
scalexm
08dfae74c7 Add chalk rules for type defs 2018-06-12 18:20:35 -05:00
Niko Matsakis
79b4ec2639 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
cea1489422 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
6cab9030bf update trait ref 2018-06-08 20:38:38 -05:00
Alexander Regueiro
e103603646 removed whitespace 2018-06-08 20:35:46 -05:00
Mark Mansi
51c8f51538 mention bless 2018-06-08 20:32:04 -05:00
Niko Matsakis
14645504d7 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
e0a0329027 fix build 2018-06-05 22:06:13 -05:00
Mark Mansi
047464aa42 Add bit about ctags; close #80 2018-06-05 22:06:13 -05:00
Mark Mansi
38d6e58799 fix typo 2018-06-04 22:18:14 -05:00
Mark Mansi
a0dc2497d0 tests dont need to pass 2018-06-04 22:18:14 -05:00
Mark
ff2305ff19 long line 2018-06-04 22:18:14 -05:00
Mark
ef15323177 Address review feedback 2018-06-04 22:18:14 -05:00
Mark
9dba2ae660 add more on crater + perf runs 2018-06-04 22:18:14 -05:00
Mark Mansi
f4936f90ca add a bit about crater 2018-06-04 22:18:14 -05:00
Mark Mansi
57b11c564d A few more data structures to the code index 2018-06-04 20:26:40 -05:00
Mark Mansi
2f071e1516 add a bunch of type-related terms to glossary 2018-06-04 19:42:16 -05:00
Mark Mansi
57183e55b2 allow long relative links 2018-06-02 17:20:47 -04:00
Mark Mansi
05e6718873 fix remaining links 2018-06-02 17:20:47 -04:00
Mark Mansi
1ab97d4a81 first round of link fixes 2018-06-02 17:20:47 -04:00
Mark Mansi
0ea6270060 mv traits 2018-06-02 17:20:47 -04:00
Mark Mansi
466423e237 move mir 2018-06-02 17:20:47 -04:00
Mark Mansi
286003648b move appendix 2018-06-02 17:20:47 -04:00
Who? Me?!
47bb51958a clarify run-rustfix compiletest header 2018-06-02 16:06:00 -05:00
Niko Matsakis
d968790529 Merge pull request #147 from tmandry/gat-lowering-rules
Add lowering rules for GATs
2018-06-01 13:20:55 -04:00
Tyler Mandry
b1fb4beeff Update lowering rules for GATs 2018-06-01 10:31:49 -05:00
Oliver Schneider
f9ffba4261 Merge pull request #142 from rust-lang-nursery/oli-obk-patch-1
Fixes #141
2018-05-29 22:56:45 +02:00
Oliver Schneider
f906594e20 Satisfy travis 2018-05-29 16:31:32 +02:00
Oliver Schneider
19e3d42bbb Explain .fixed files 2018-05-29 15:37:24 +02:00