Commit Graph

360 Commits

Author SHA1 Message Date
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
Niko Matsakis 3cd4413429 Merge pull request #196 from dwijnand/patch-1
No copyright notices on new tests
2018-09-07 10:02:09 -04: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
Niko Matsakis 1a1267262f Merge pull request #179 from tromey/compiler-test-docs
Update compiler test documentation
2018-08-09 16:32:14 -04: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
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