Commit Graph

709 Commits

Author SHA1 Message Date
Niko Matsakis 44c05c72be add a section about profiling with perf 2018-09-10 19:25:29 -05:00
Niko Matsakis 1277f2ae0c
Merge pull request #196 from dwijnand/patch-1
No copyright notices on new tests
2018-09-07 10:02:09 -04:00
Dale Wijnand ad03ec4ee8
Write in English 2018-09-07 11:47:56 +01:00
Dale Wijnand e731de5755
No copyright notices on new tests 2018-09-07 11:46:53 +01:00
Niko Matsakis 81fd1c02f2 note about discussion channels 2018-08-31 23:03:48 -05:00
Niko Matsakis e295ad412e includ some notes on finding bugs 2018-08-31 23:03:48 -05:00
Niko Matsakis 207e669c1f fix various minor points 2018-08-31 23:03:48 -05:00
Niko Matsakis 7c200dffd7 adjust long lines 2018-08-31 23:03:48 -05:00
Niko Matsakis 3d094aa310 add a section about the compiler team 2018-08-31 23:03:48 -05:00
Niko Matsakis 5321d0059f tweak long line 2018-08-31 12:05:36 -05:00
Niko Matsakis f893fe8019 sprinkle links to rustdoc through the HIR explanation 2018-08-31 12:05:36 -05:00
Sébastien Duquette 581b5fc9cf address review comment 2018-08-23 21:56:35 -05:00
Sébastien Duquette a28a4cf252 Fix lines over 80 columns. 2018-08-23 21:56:35 -05:00
Sébastien Duquette 3aa13477d1 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 7836a59e48 add rust,ignore to code snippets 2018-08-20 11:46:41 -05:00
Oliver Schneider 6533ccebba Update existential-types.md 2018-08-20 11:46:41 -05:00
Oliver Schneider 9efa9f1346 Explain existential types 2018-08-20 11:46:41 -05:00
Josh Triplett 1f8e117292 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 6568317234 More descriptive name for #[test] implementation 2018-08-11 10:37:44 -05:00
John Renner 61adf4cb4b Shorten line length 2018-08-11 10:37:44 -05:00
John Renner c13c5a019f Add testing chapter 2018-08-11 10:37:44 -05:00
Niko Matsakis 0298cedcfa
Merge pull request #179 from tromey/compiler-test-docs
Update compiler test documentation
2018-08-09 16:32:14 -04:00
Tom Tromey 37141c0825 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 2a1387faae minor improvements 2018-07-16 20:52:29 -05:00
mark e0d07aad5f add notes about generating llvm ir 2018-07-16 20:52:29 -05:00
mark 894893860d line length 2018-07-16 20:52:29 -05:00
mark 57c8403c88 add a bit on llvm 2018-07-16 20:52:29 -05:00
mark 315ae44507 add a bit about buffered lints 2018-07-14 16:47:17 -05:00
mark 1a696569a8 update definitions 2018-07-10 21:35:45 -05:00
mark d234211ca1 Attempt to address review comments 2018-07-10 21:35:45 -05:00
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