Sunjay Varma
6132ed7c5f
Deleted <a> tag which was messing up the associated types page
2018-05-10 14:46:44 -05:00
Tomáš Gavenčiak
b0ac5ffedc
Update adding.md
...
Rename `must-compile-successfully` to `compile-pass` in ui test doc as per https://github.com/rust-lang/rust/issues/49568 .
2018-05-10 13:18:30 -05:00
Rajkumar Natarajan
9ab5653936
Issue84 Add note about ./x.py build
2018-05-10 08:14:43 -04:00
gnzlbg
eb7955313d
Add how to run tidy script in isolation to text
...
This is already mentioned elsewhere, but important things are repeated twice.
Closes #124
2018-05-08 09:57:21 -05:00
Nick Fitzgerald
3f13b01444
appendix-background: Link to *Static Program Analysis*
...
A+++++ resource IMHO!
2018-04-28 21:13:45 -05:00
Ehsan M.Kermani
cf70e19520
lint add dots
2018-04-28 21:11:51 -05:00
Ehsan M.Kermani
6c293f0170
fix max line len
2018-04-28 21:11:51 -05:00
Ehsan M.Kermani
38a21e9ea6
expand compilation stages
2018-04-28 21:11:51 -05:00
cg-cnu
ed758ee494
add: note about copy from rust-forge
2018-04-15 12:58:53 -05:00
cg-cnu
a45853faf8
fix: changed rust code to bash formatting
2018-04-15 12:58:53 -05:00
cg-cnu
e44a94eb24
refactor: fixed typos, text formatting suggested in the review
2018-04-15 12:58:53 -05:00
cg-cnu
3814a2eeef
refactor: Fixed all the lines exceeding more than 80 characters
2018-04-15 12:58:53 -05:00
cg-cnu
d4bc8827f8
refactor: Change the name from debugging to compiler-debuggin.md
2018-04-15 12:58:53 -05:00
cg-cnu
a5221f3287
Add: Added the instructions for debugging from rust-forge
2018-04-15 12:58:53 -05:00
Samuel Wilson
ea2e787899
Add definition of a fat pointer, double pointer, and wide pointer
...
Definition referenced from Programming Rust by Jim Blandy & Jason
Orendorff, published by O'Reilly. Page 214: References to Slices
and Trait Objects.
Double pointer and wide pointer both refer to fat pointer for
detail.
2018-04-14 20:29:42 -05:00
Samuel Wilson
7ba118ba5a
Add definition of a fat pointer
...
Definition referenced from Programming Rust by Jim Blandy & Jason
Orendorff, published by O'Reilly. Page 214: References to Slices
and Trait Objects.
2018-04-14 20:29:42 -05:00
QuietMisdreavus
0dfbdb8c86
talk about `only-X` in compiletest
2018-04-10 20:44:29 -05:00
Rajkumar Natarajan
4de421131b
update nightly documention for issue#100-b
2018-04-06 21:40:18 -05:00
varkor
a52c0adf68
Fix unstable Rust code block issue
2018-04-06 14:18:08 -05:00
varkor
28ba13db20
Fix spacing
2018-04-06 14:18:08 -05:00
varkor
c6b3ce0c96
Replace txt with text
2018-04-06 14:18:08 -05:00
varkor
ad35712ddc
Consolidate and fix code blocks
2018-04-06 14:18:08 -05:00
Rajkumar Natarajan
cacdd73802
Fixing the long lines in appendix-stupid-status#100
2018-04-06 12:17:30 -05:00
Niko Matsakis
2065551af6
link directly to the compile-input function
2018-04-06 12:17:30 -05:00
Rajkumar Natarajan
041af7c28c
Link to internal rustdocs#100
2018-04-06 12:17:30 -05:00
Philip Munksgaard
7a3cf36d65
Fix typo in rustdoc.md
2018-04-03 10:15:57 -05:00
Dan Robertson
b9e26653c8
Update links
...
Add missing link and add link for UFCS.
2018-03-29 08:35:25 -05:00
Tomáš Gavenčiak
c355768c91
Fix a typo
2018-03-27 20:03:56 +02:00
Tomáš Gavenčiak
db6ecb92f9
Add info on test result caching
2018-03-27 11:36:14 -05:00
Mark Mansi
22d5d6e212
reformat basically the whole rustdoc.md
2018-03-26 20:28:00 -05:00
Mark Mansi
576b018a3b
still more long lines
2018-03-26 20:28:00 -05:00
Mark Mansi
42b7ec9aa9
More long lines
2018-03-26 20:28:00 -05:00
Mark Mansi
a0b171b868
Fix long lines in conventions
2018-03-26 20:28:00 -05:00
Mark Mansi
9afc44beac
Fix long lines in const-eval
2018-03-26 20:28:00 -05:00
Mark Mansi
fc16c05abe
Fix long lines in compiletest
2018-03-26 20:28:00 -05:00
Mark Mansi
a4c3361302
Fix long lines in stupid stats appendix
2018-03-26 20:28:00 -05:00
Mark Mansi
1bdb1402b6
Fix long lines in glossary
2018-03-26 20:28:00 -05:00
Alexander Regueiro
b3d8fba198
Hard-wrapped lines that are too long.
2018-03-26 20:28:00 -05:00
Dan Robertson
52520205a3
Minor grammar and syntax fixes
...
Minor grammar and syntax fixes found while reading.
2018-03-25 13:50:58 +00:00
Niko Matsakis
966b4d8fe0
describe how the lowering code works
2018-03-19 10:53:39 -04:00
Mark Mansi
e7ce4f411c
Add incremental compilation debugging subchapter
2018-03-16 11:45:09 -05:00
Niko Matsakis
7dea4167cf
add names to the trait lowering rules
...
This allows cross-references from the code.
2018-03-15 15:01:40 -05:00
Who? Me?!
80fa5ad68d
Updated parenthetical
2018-03-15 15:00:10 -05:00
Mark Mansi
474bdb566c
address review comments
2018-03-15 15:00:10 -05:00
Mark Mansi
4026b02fc8
Address review comments
2018-03-15 15:00:10 -05:00
Mark Mansi
5d70b9aae5
Add the rustdoc readme
2018-03-15 15:00:10 -05:00
Mark Mansi
1efd726166
Add the contents of the typeck READMEs
2018-03-12 19:39:56 -05:00
Mark Mansi
68063bc768
fix typo
2018-03-12 18:14:10 -05:00
Michael Bryan
e19b1e23b5
Added links back to nrc's stupid-stats
2018-03-12 17:41:01 -05:00
Michael Bryan
856aa3adff
Fixed a broken link
2018-03-12 17:41:01 -05:00
Michael Bryan
b2581c0fdd
Updated stupid-stats
...
cc: nrc/stupid-stats#8
2018-03-12 17:41:01 -05:00
Michael Bryan
75497d550b
Addressed some of @nrc and @mark-i-m's comments
2018-03-12 17:41:01 -05:00
Michael Bryan
eb765cdbe4
Added a couple definitions to the code index
2018-03-12 17:41:01 -05:00
Michael Bryan
1c8a0a94a4
Thank you link checker!
2018-03-12 17:41:01 -05:00
Michael Bryan
ea7b99943a
Renamed appendices and added @nrc's guide
2018-03-12 17:41:01 -05:00
Michael Bryan
558f16cc8a
Added a very rough rustc-driver chapter
2018-03-12 17:41:01 -05:00
Mark Mansi
73cc6098c9
Fix a few typos
2018-03-11 21:05:29 -05:00
Shanavas M
d41933a95b
fix typo
2018-03-10 10:50:26 -06:00
Niko Matsakis
b30174cf00
trailing whitespace
2018-03-10 07:11:11 -05:00
Niko Matsakis
45394e41e4
fix link
2018-03-10 07:10:44 -05:00
Niko Matsakis
70786e7025
update the summary landing page
2018-03-10 07:09:25 -05:00
Niko Matsakis
c237f48c97
add implied bounds placeholder
2018-03-10 07:06:48 -05:00
Niko Matsakis
26c1254b0e
numerous edits
2018-03-10 07:06:48 -05:00
Niko Matsakis
0a5a47d731
rework canon section substantially to spell out steps more clearly
2018-03-10 07:06:48 -05:00
Niko Matsakis
32c471b278
update for notation
2018-03-10 07:06:48 -05:00
Niko Matsakis
71e867a8ac
add background material on trait queries
2018-03-10 07:06:48 -05:00
Niko Matsakis
a7b1b24fe1
expand reorder topic list slightly
2018-03-10 07:06:48 -05:00
Niko Matsakis
96730e2455
don't say 'thing'
2018-03-10 07:06:48 -05:00
Niko Matsakis
70c84edf43
link to traits working group tracking issue
2018-03-10 07:06:48 -05:00
Niko Matsakis
d4c2ab308a
clarify how there are two traits chapters
2018-03-10 07:06:48 -05:00
Niko Matsakis
4d1dbd553b
work on traits chapters
2018-03-10 07:06:48 -05:00
Vishal Sodani
d4fd74f3de
Better explanation for StringReader
2018-03-09 09:37:51 -06:00
vishalsodani
ead02a47e7
Add info about StringReader for #50
2018-03-09 09:37:51 -06:00
Adam C. Foltzer
1f0d256254
Fix typos
2018-03-07 12:41:19 -06:00
Phlosioneer
c2560d523f
Fix typo in conventions.md
2018-03-06 19:09:22 -06:00
Michal 'vorner' Vaner
bad6063311
Second pass of name resolution
...
Just small little tweaks
2018-03-04 13:29:37 -06:00
vishalsodani
dc72b964cf
keep alphabetical order
2018-03-02 19:42:26 +05:30
vishalsodani
6de540d76a
Add info about TraitDef for #50
2018-03-02 11:03:20 +05:30
vishalsodani
375182e066
Add info about CodeMap for #50
2018-03-02 09:22:41 +05:30
vishalsodani
31756c8bbe
Add info about ParseSess for code index #50
2018-03-01 10:48:06 -06:00
Mark Mansi
a3dfe3ebf1
actually fix table with hack
2018-02-28 14:58:24 -06:00
Mark Mansi
533b96b6d0
fix table
2018-02-28 14:45:51 -06:00
Who? Me?!
4835c223f5
Fix funny glossary formatting
2018-02-28 14:40:18 -06:00
Niko Matsakis
b74423facf
address nits
2018-02-28 14:30:04 -06:00
Niko Matsakis
bca4268e94
fix typo
2018-02-28 14:30:04 -06:00
Niko Matsakis
75b2591ab3
apply mark-i-m's suggestions
2018-02-28 14:30:04 -06:00
Niko Matsakis
644dccfa34
rework the MIR intro section, breaking out passes and visitors
2018-02-28 14:30:04 -06:00
Niko Matsakis
a8c8f4ad3b
Merge pull request #56 from mark-i-m/markim_glossary_002
...
Add some codegen related terminology to glossary
2018-02-25 21:59:51 -05:00
Eric Huss
ca2bb760c4
Start documentation for test infrastructure.
...
CC #10
2018-02-25 15:47:48 -06:00
Mark Mansi
f6844420a6
Add some codegen related terminology to glossary
2018-02-24 21:09:00 -06:00
Niko Matsakis
a86c286a49
Merge pull request #57 from mark-i-m/markim_glossary_003
...
Add a few more terms to the glossary
2018-02-23 20:47:29 -05:00
Niko Matsakis
481588a13b
Merge pull request #52 from mark-i-m/traits
...
Clean up and reorganize traits chapter
2018-02-23 20:47:05 -05:00
Mark Mansi
dedf73b5f2
Add HIR MAP to glossary
2018-02-23 13:18:13 -06:00
Mark Mansi
895c6967ed
Start a code index
2018-02-23 12:53:13 -06:00
Eric Huss
7df929b7e1
Add some more information about the various tests that get run.
...
CC #10
2018-02-23 12:45:17 -06:00
Mark Mansi
8d11e1ac3b
Minor updates to specialization subchapter
2018-02-23 12:40:14 -06:00
Mark Mansi
a4b5151b11
Edits and cleanup in trait-caching subchapter
2018-02-23 12:40:14 -06:00
Mark Mansi
e5aca6a8ec
Clarifications and edits to hrtb chapter
2018-02-23 12:40:14 -06:00
Mark Mansi
cbd05bc786
Clean up and reorganize traits chapter
2018-02-23 12:40:14 -06:00
Oliver Schneider
77e872fb58
Add some documentation for const eval and related topics
2018-02-23 12:36:20 -06:00
Brad Gibson
b84288f2ac
changed to relative links, where possible
2018-02-21 10:44:23 -08:00
Brad Gibson
3d7bc934db
cleaned up some stragglers
2018-02-21 07:44:07 -08:00
Brad Gibson
7eed06b83c
merged with upstream/master
2018-02-20 15:37:14 -08:00
Brad Gibson
f50f36177a
added compiletest to summary.md; linked to existing resources for additional information
2018-02-20 15:32:17 -08:00
Niko Matsakis
49da9c9030
remove humorous footnote which is not supported
2018-02-17 10:51:29 -06:00
Niko Matsakis
8605464d3b
correct links (mdbook seems to want them relative to the book root)
2018-02-17 10:51:29 -06:00
Niko Matsakis
bcf38b78a4
mention tidy
2018-02-17 10:51:29 -06:00
Niko Matsakis
dbb6900498
fix typo
2018-02-17 10:51:29 -06:00
Niko Matsakis
cec7fed1ad
link to brson's blog post
2018-02-17 10:51:29 -06:00
Niko Matsakis
4680105b89
complete sentence
2018-02-17 10:51:29 -06:00
Niko Matsakis
e34e22bc5b
give some advice about which test suite to use
2018-02-17 10:51:29 -06:00
Niko Matsakis
747cea1ae7
add some more conventions
2018-02-17 10:51:29 -06:00
Niko Matsakis
e2a7f6f3ad
add some notes on coding conventions and link to copyright notice
2018-02-17 10:51:29 -06:00
Niko Matsakis
228ecd29a8
document the test infrastructure
2018-02-17 10:51:29 -06:00
Mark Mansi
6cb1c99f99
Add a few more terms to the glossary
2018-02-15 18:11:15 -06:00
Who? Me?!
7f1566e8a3
Update glossary.md
2018-02-14 11:58:26 -06:00
Mark Mansi
35a13bae33
add soundness and completeness to glossary
2018-02-14 11:58:26 -06:00
Brad Gibson
2685d478fd
Added 'How to add header commands to `compiletest`'
2018-02-13 09:53:45 -08:00
Brad Gibson
43afda3032
fixed typos
2018-02-13 09:45:26 -08:00
Brad Gibson
3c6e64ed70
Update compiletest.md
...
changed file references to GitHub links directly to files
2018-02-13 09:22:33 -08:00
Brad Gibson
b4e2f6b643
created compiletest.md
...
describe the steps required to add a test and a header command to compiletest
2018-02-13 05:53:35 -08:00
Mark Mansi
63b6666b77
alphabetize glossary
2018-02-11 15:48:58 -06:00
Niko Matsakis
e17efcf9e7
Merge pull request #46 from theotherphil/dumphir
...
Explain how to dump HIR
2018-02-08 04:13:33 -05:00
Phil Ellison
cce2b0ae9c
Use cargo rustc instead of setting RUSTFLAGS
2018-02-07 19:14:58 +00:00
Phil Ellison
de6afbc261
Explain how to dump HIR
2018-02-07 07:08:58 +00:00
Philipp Hansch
aa2d408c1e
Order alphabetically, improve explanation of DAG
2018-02-06 11:26:34 -06:00
Philipp Hansch
7d53e449a9
Add DAG to glossary
2018-02-06 11:26:34 -06:00
Mark Mansi
5920d94563
Update link text
2018-02-04 21:52:30 -06:00
Alexander Regueiro
1187124cad
Removed spurious `a`.
2018-02-04 21:46:26 -06:00
Alexander Regueiro
5a9fce427e
Fixed issues mentioned by @mark-i-m in review.
2018-02-04 21:46:26 -06:00
Alexander Regueiro
c579c23694
More minor fixes.
2018-02-04 21:46:26 -06:00
Alexander Regueiro
597ed7d4fd
Cleaned up section on type inference.
2018-02-04 21:46:26 -06:00
Alexander Regueiro
80e9252f12
Explained what HM type inference is.
2018-02-04 21:46:26 -06:00
Alexander Regueiro
152c08b1c9
Very minor grammatical fixes.
2018-02-04 21:46:26 -06:00
Alexander Regueiro
7c158a6acc
Normalized instances of `N.B.`.
2018-02-04 21:46:26 -06:00
Alexander Regueiro
072d698430
Changed all instances of `e.g.,` to `e.g.`, and similar.
2018-02-04 21:46:26 -06:00
Alexander Regueiro
4f417f0be6
Improved grammar of HIR section.
2018-02-04 21:46:26 -06:00
Alexander Regueiro
02b5849749
Renamed `trans: generating LLVM IR` section.
2018-02-04 21:46:26 -06:00
avborhanian
b2ece4a61a
Update glossary.md
2018-02-04 13:13:17 -06:00
avborhanian
5b7e442fc3
Update glossary.md
2018-02-04 13:13:17 -06:00
avborhanian
4489e9734f
Adding ICH to the glossary.
2018-02-04 13:13:17 -06:00
Alexander Regueiro
c95e604602
minor grammatical fixes
2018-02-01 11:03:07 -06:00
Alexander Regueiro
780e954a17
replaced all instances of `--` (double hyphen) with `-` (en-dash)
2018-02-01 11:03:07 -06:00
Alexander Regueiro
487b8e01c3
fixed definition of code_mr hyperlink
2018-02-01 11:03:07 -06:00
Niko Matsakis
2a9f806b8e
Merge pull request #37 from nikomatsakis/staging
...
update wording on staging to be a bit more clear
2018-01-31 14:44:55 -05:00
Niko Matsakis
26954dcecb
update wording to be a bit more clear
2018-01-31 14:18:51 -05:00
Niko Matsakis
e4f4581cc6
fix some broken links
2018-01-31 14:13:49 -05:00
Niko Matsakis
04d35ee547
Update link to hir
2018-01-31 14:13:10 -05:00
Niko Matsakis
6ab5adfb2e
update to link within the book
2018-01-31 14:13:10 -05:00
Michael Bryan
1d3f0bb532
Added the mdbook-linkcheck backend
2018-01-31 14:13:09 -05:00
Niko Matsakis
32ceadd9d9
Merge pull request #36 from mark-i-m/markim_readme_02
...
Copy MIR readme
2018-01-31 14:12:41 -05:00
Mark Mansi
a6fb06e122
copy MIR readme
2018-01-31 12:22:42 -06:00
Niko Matsakis
030bc47d4d
Merge pull request #31 from mark-i-m/markim_readme_01
...
Copy type inference readme
2018-01-31 11:28:11 -05:00
Niko Matsakis
16bf438749
Merge pull request #33 from mark-i-m/stages
...
Add a paragraph about bootstrapping
2018-01-31 11:25:10 -05:00
Niko Matsakis
4c0a9e144e
Merge pull request #29 from rust-lang-nursery/mark-i-m-patch-1
...
I'm guessing this was a typo?
2018-01-31 11:19:25 -05:00
Niko Matsakis
4bff2b4fba
Merge pull request #26 from mark-i-m/macros
...
Start macro expansion chapter
2018-01-31 11:18:20 -05:00
Alexander Regueiro
314bc0c525
changed hyphens to en-dashes
2018-01-30 20:14:12 -06:00
Alexander Regueiro
1903ff4b16
minor clarification
2018-01-30 20:14:12 -06:00
Alexander Regueiro
c8c54f68ae
fixed grammatical oversight
2018-01-30 20:14:12 -06:00
Alexander Regueiro
d2740041b0
improved grammar and fixed small errors
2018-01-30 20:14:12 -06:00
Alexander Regueiro
b66d8d9def
improved grammar
...
use en-dashes instead of `--`
2018-01-30 20:14:12 -06:00
Mark Mansi
7022c0aac4
Add a para about bootstrapping
2018-01-30 16:29:16 -06:00
Who? Me?!
6da8a1b6a4
Fix minor typos
2018-01-30 11:38:37 -06:00
Michal 'vorner' Vaner
136cf15064
The first approximation of name resolution ( #22 )
...
* The first approximation of name resolution
The first attempt to write something useful about the name resolution.
As the TODO section says, his is not finished thing, but it might
hopefully be useful to someone already.
2018-01-29 22:18:35 +01:00
Mark Mansi
e2eb8fc511
copy type inference readme
2018-01-29 13:12:28 -06:00
Mark Mansi
68e84c734d
Corrected relationship of macro and rust parsers
2018-01-29 11:50:34 -06:00
Who? Me?!
3947a76572
I'm guessing this was a typo?
2018-01-29 11:37:40 -06:00
Mark Mansi
41a4f43684
Rewrite 'tokens' para...
2018-01-29 11:20:46 -06:00
Niko Matsakis
cd055e97a4
link glossary to mir
2018-01-29 10:26:40 -05:00
Niko Matsakis
aacd1c47c8
create links in the glossary
2018-01-29 10:25:44 -05:00
Niko Matsakis
eb31ada5c7
breakup the MIR section and add an incremental compilation section
2018-01-29 10:20:03 -05:00
Mark Mansi
81e9d3bb83
Updated macros to address Niko's comments
2018-01-26 14:41:56 -06:00
Niko Matsakis
d052d295ef
move over the query chapter from src/librustc/ty/maps
2018-01-26 09:20:01 -05:00
Niko Matsakis
8d6d60a010
rename the hir chapter to The HIR
2018-01-26 09:12:15 -05:00
Mark Mansi
ce6899ab8b
Oops rename
2018-01-25 17:58:04 -06:00
Mark Mansi
b58a3dc627
Add a bit about macro expansion
2018-01-25 17:56:33 -06:00
Mark Mansi
1c92abebd6
Start macro expansion chapter
2018-01-25 15:58:47 -06:00
Niko Matsakis
af83b8e8d4
Merge pull request #21 from Michael-F-Bryan/parser
...
WIP: Started working on the Parser
2018-01-25 09:47:54 -05:00
Niko Matsakis
4588cebfe4
Merge pull request #24 from nikomatsakis/master
...
how to build and run compiler, first shot
2018-01-25 09:40:36 -05:00
Niko Matsakis
887d8829f6
fix nits
2018-01-25 09:40:07 -05:00
Michael Bryan
d1f0ff2ed3
Mentioned the main players in the parser
2018-01-25 00:30:52 +08:00
Niko Matsakis
287c401283
how to build and run compiler, first shot
2018-01-24 09:14:35 -05:00
Phil Ellison
bfb6388d7b
Copy contents of README.md from librustc/hir
2018-01-23 20:04:27 +00:00
Michael Bryan
20970b6b85
Started working on the parser chapter
2018-01-20 22:13:39 +08:00
Niko Matsakis
141528264b
move over the `ty` README
2018-01-19 06:51:52 -05:00
Niko Matsakis
b440859ad3
add in the trait resolution README from rustc
2018-01-19 06:46:56 -05:00
Niko Matsakis
81d158b707
remove the `chap-NNN-` convention from file names
...
I don't want those showing up in the URLs.
2018-01-19 06:46:56 -05:00
Niko Matsakis
45c8176b95
replace "conventions" with "high-level overview"
...
Also bring in material from the librustc README.md
2018-01-19 06:46:56 -05:00
Niko Matsakis
2c8b1345c0
add an "about this guide" section
2018-01-19 06:39:09 -05:00
Niko Matsakis
f0db733d99
remove `src/src` directory that somehow got created
2018-01-17 09:25:59 -05:00
Mark Mansi
4e03569d8d
Add glossary
2018-01-16 18:43:10 -06:00
Niko Matsakis
eaa28eb853
add outline and chapters
2018-01-16 17:35:19 -05:00
Niko Matsakis
27ec0dc6d6
add `mdbook init`
2018-01-16 16:35:44 -05:00