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
Alex Kitchens
fedeb6a9a0
Keep glossary definition of codegen
2018-06-26 19:04:30 -05:00
Alex Kitchens
f5f669e97d
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
ffc7fdf490
Update query.md
2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu
2d95ba915a
Update high-level-overview.md
2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu
b961a49efe
rustc: rename ty::maps to ty::query.
2018-06-25 21:20:30 -05:00
Zack M. Davis
2a82c7666d
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
e39c13d458
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
247ff14a43
Capitalize a word
2018-06-12 18:20:35 -05:00
scalexm
99e4f99e9e
Add chalk rules for type defs
2018-06-12 18:20:35 -05:00
Niko Matsakis
d3939fa152
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
031bdd42bb
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
12d8d7668d
update trait ref
2018-06-08 20:38:38 -05:00
Alexander Regueiro
36dffefd1a
removed whitespace
2018-06-08 20:35:46 -05:00
Mark Mansi
269dabd291
mention bless
2018-06-08 20:32:04 -05:00
Niko Matsakis
2e26dcb6bc
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
56d353991d
fix build
2018-06-05 22:06:13 -05:00
Mark Mansi
428c7d6b4c
Add bit about ctags; close #80
2018-06-05 22:06:13 -05:00
Mark Mansi
35838c9f66
fix typo
2018-06-04 22:18:14 -05:00
Mark Mansi
d7e1878094
tests dont need to pass
2018-06-04 22:18:14 -05:00
Mark
cebc5d8598
long line
2018-06-04 22:18:14 -05:00
Mark
785006ad62
Address review feedback
2018-06-04 22:18:14 -05:00
Mark
b931fde9f5
add more on crater + perf runs
2018-06-04 22:18:14 -05:00
Mark Mansi
262e0add0c
add a bit about crater
2018-06-04 22:18:14 -05:00
Mark Mansi
0ae47f45f5
A few more data structures to the code index
2018-06-04 20:26:40 -05:00
Mark Mansi
d08cca96e5
add a bunch of type-related terms to glossary
2018-06-04 19:42:16 -05:00
Mark Mansi
11a2e465fc
allow long relative links
2018-06-02 17:20:47 -04:00
Mark Mansi
eec934f762
fix remaining links
2018-06-02 17:20:47 -04:00
Mark Mansi
30b6be0f7d
first round of link fixes
2018-06-02 17:20:47 -04:00
Mark Mansi
1ad9dc34e5
mv traits
2018-06-02 17:20:47 -04:00
Mark Mansi
6017a9cf91
move mir
2018-06-02 17:20:47 -04:00
Mark Mansi
6246dbd9ed
move appendix
2018-06-02 17:20:47 -04:00
Who? Me?!
659bde0203
clarify run-rustfix compiletest header
2018-06-02 16:06:00 -05:00
Niko Matsakis
9ce550e95b
Merge pull request #147 from tmandry/gat-lowering-rules
...
Add lowering rules for GATs
2018-06-01 13:20:55 -04:00
Tyler Mandry
5726ecbef2
Update lowering rules for GATs
2018-06-01 10:31:49 -05:00
Oliver Schneider
b308d94e0a
Merge pull request #142 from rust-lang-nursery/oli-obk-patch-1
...
Fixes #141
2018-05-29 22:56:45 +02:00
Oliver Schneider
053060c442
Satisfy travis
2018-05-29 16:31:32 +02:00
Oliver Schneider
86f694c1d4
Explain .fixed files
2018-05-29 15:37:24 +02:00
Oliver Schneider
e25515fa7c
Mention "run-rustfix"
2018-05-28 13:08:15 +02:00
Mark Mansi
2e7900d735
fix typo
2018-05-27 19:44:55 -05:00
Mark Mansi
8e744cddf5
line length
2018-05-27 19:44:55 -05:00
Mark Mansi
b4fe77109c
add more on applicabilities
2018-05-27 19:44:55 -05:00
Mark Mansi
9fe44f3f5a
Address reviewers' comments
2018-05-27 19:44:55 -05:00
Mark Mansi
750267798f
80 chars
2018-05-27 19:44:55 -05:00
Mark Mansi
f06a63bcf2
Add info about emitting lints and errors
2018-05-27 19:44:55 -05:00
Tyler Mandry
01f9d655ee
Trait logic: Explain what each domain goal means
2018-05-27 16:11:27 -05:00
Tyler Mandry
3ea4a0b683
Clarify language in Trait Resolution
2018-05-27 16:11:27 -05:00
Takanori Ishibashi
d491bce01d
Fix typo
2018-05-27 13:11:59 -05:00