Commit graph

323 commits

Author SHA1 Message Date
Josh Triplett
1e4bf1dd58 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
955d0f913d More descriptive name for #[test] implementation 2018-08-11 10:37:44 -05:00
John Renner
9e83f15ad3 Shorten line length 2018-08-11 10:37:44 -05:00
John Renner
0e9d5c3ef0 Add testing chapter 2018-08-11 10:37:44 -05:00
Tom Tromey
d53aaa3567 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
74ffa29ef3 minor improvements 2018-07-16 20:52:29 -05:00
mark
890585abf0 add notes about generating llvm ir 2018-07-16 20:52:29 -05:00
mark
c923848287 line length 2018-07-16 20:52:29 -05:00
mark
57a4bd9b9a add a bit on llvm 2018-07-16 20:52:29 -05:00
mark
4a4b534fd7 add a bit about buffered lints 2018-07-14 16:47:17 -05:00
mark
e88f3df729 update definitions 2018-07-10 21:35:45 -05:00
mark
3ca16b773f Attempt to address review comments 2018-07-10 21:35:45 -05:00
mark
fd27764983 define FileMap; fix #35 2018-07-10 21:35:45 -05:00
mark
dce30e99dc fix lacking spaces 2018-07-09 21:45:49 -05:00
mark
114278adc0 fix all the not-en-dashes 2018-07-09 21:45:49 -05:00
Eric Huss
da89f687a1 Update mdbook
Closes #138
Closes #160
2018-07-09 21:35:58 -05:00
Who? Me?!
fd000066ad 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?!
f00994a71a Quick fix: copy/paste error 2018-07-08 18:34:25 -05:00
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