Commit Graph

975 Commits

Author SHA1 Message Date
mark 8bbe1ff044 start working through discussion 2020-05-08 09:42:27 -05:00
mark ee0059a6e2 some cleanup in the macros chapter 2020-05-08 09:42:27 -05:00
George Fraser 0a3ac2d34f Reference complete examples 2020-05-07 17:30:27 -05:00
George Fraser 718047c647 Line length 2020-05-07 17:30:27 -05:00
George Fraser 7f394a5579 Example of getting diagnostics 2020-05-07 17:30:27 -05:00
Hanif Ariffin 6f79c282d8
Added link to the `ty::Adt` (#696)
* Added link to the `ty::Adt`

* Formatting fixes

Thanks @JohnTitor

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-07 23:44:39 +09:00
Who? Me?! e1736cc9d0 typo
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-06 17:03:52 -05:00
mark 32f3330167 add a bit more on parallel compilation 2020-05-06 17:03:52 -05:00
Bastian Kauschke a8bb0c17f3 Fix example for winnowing 2020-05-02 21:23:21 -05:00
Tshepang Lekhonkhobe 98e94be044 improve info regarding incremental a little 2020-05-01 09:18:42 -05:00
Tshepang Lekhonkhobe 03282ca486 I confirmed this 2020-05-01 09:17:27 -05:00
Who? Me?! 26e0ae52dd tidy 2020-04-30 21:25:29 -05:00
Hanif Ariffin 1b9f80cc40 Update src/queries/incremental-compilation.md
Removed `at`.

Co-authored-by: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-30 21:25:29 -05:00
Hanif Ariffin c0ad843003 Hide link behind a clickable text
It currently does not appear as a clickable link here https://rustc-dev-guide.rust-lang.org/queries/incremental-compilation.html
Additionally, this is a particularly long and nasty link.
2020-04-30 21:25:29 -05:00
Hanif Ariffin 0b32573dd7 Minute formatting fix 2020-04-30 21:25:17 -05:00
Santiago Pastorino 622be10b7b
It's just ICE-breaker (#685) 2020-04-28 21:19:37 +02:00
Santiago Pastorino 36a06c0f25 Remove extra the 2020-04-27 15:45:00 -05:00
Santiago Pastorino 159cb7e700 Fix sub-diagnostic typo 2020-04-27 15:45:00 -05:00
Who? Me?! f57f25dc45
remove info about diag ice breakers; doesn't exist yet (#682) 2020-04-25 16:23:59 -03:00
Charles Lew bdf565dba6 Address review comments.
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-04-25 06:57:48 -05:00
Charles Lew 9d9eb150de Fix links. 2020-04-25 06:57:48 -05:00
Charles Lew d79227e453 Address review comments. 2020-04-25 06:57:48 -05:00
Charles Lew cbbe9b423f Fix links and CI error. 2020-04-25 06:57:48 -05:00
Charles Lew d596ab2bee Remove details about chalk and point to Chalk Book instead. 2020-04-25 06:57:48 -05:00
Santiago Pastorino 1398a6fe9d treat-err-as-bug=n means panic on nth error 2020-04-24 13:48:01 -05:00
Bastian Kauschke cbd8d437da
Replace `rustc` with `rustc_middle` (#680) 2020-04-20 15:16:27 +02:00
Who? Me?! a450260a5f Typo 2020-04-19 13:08:39 -05:00
Esteban Küber 0ecf993367 review comments: move text to more relevant section 2020-04-19 13:08:39 -05:00
Esteban Küber 5d0f59959b Add diagnostics ICE-breakers page 2020-04-19 13:08:39 -05:00
Santiago Pastorino 0daa3f7053
Fix typo (#678) 2020-04-19 17:54:45 +02:00
Yuki Okushi 695e58d5ec Apply suggestions from Zoxc 2020-04-18 20:58:14 -05:00
Michael Woerister 2154b85ca4 Apply feedback. 2020-04-18 20:58:14 -05:00
Michael Woerister 4840ad250b Add documentation about incr. comp. query attributes and the projection query pattern. 2020-04-18 20:58:14 -05:00
Who? Me?! bc5445760e
Fix some whitespace (#677) 2020-04-19 01:40:16 +09:00
Yuki Okushi e927db936f Apply suggestions from code review
Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>
2020-04-18 11:11:33 -05:00
mark 96e912e6a6 add link to intrinsic 2020-04-18 11:11:33 -05:00
Who? Me?! 8046502e80 Remove various todos
With some items added to https://github.com/rust-lang/rustc-dev-guide/issues/674

Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>
2020-04-18 11:11:33 -05:00
mark a578fc11c5 line length 2020-04-18 11:11:33 -05:00
Chris Simpkins 5090bb8d0f [overview.md] add lexer updates, parser updates
includes feedback from matklad (lexer) and centril (parser)
2020-04-18 11:11:33 -05:00
Chris Simpkins 4eadacdf29 [overview.md] add initial parser documentation 2020-04-18 11:11:33 -05:00
mark 68a9c1f605 fix links 2020-04-18 11:11:33 -05:00
mark ae4e472959 add intrinsics to glossary 2020-04-18 11:11:33 -05:00
mark dc88fe372e minor wording change on bootstrapping 2020-04-18 11:11:33 -05:00
mark c3f9d0810f update mono entry points 2020-04-18 11:11:33 -05:00
Chris Simpkins 9bf8f9ed16 [overview.md] add documentation of lexer support for Unicode encoding 2020-04-18 11:11:33 -05:00
mark 8eeada5768 correct entry points for codegen 2020-04-18 11:11:33 -05:00
mark 52bc0f6350 some cleanup 2020-04-18 11:11:33 -05:00
mark 2ff2f56041 add entry points for type check and type inference
Co-Authored-By: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-18 11:11:33 -05:00
mark 2f7a6b1a62 add a para on interning and arenas 2020-04-18 11:11:33 -05:00
Chris Simpkins cf14e7aa42 [overview.md] add parser entry point links 2020-04-18 11:11:33 -05:00
mark 5afed5f5ad fix lexer entry point 2020-04-18 11:11:33 -05:00
Who? Me?! 7a58fdc10c Improve wording
Co-Authored-By: Santiago Pastorino <spastorino@gmail.com>
2020-04-18 11:11:33 -05:00
mark 0d0611b7d9 add an entry point 2020-04-18 11:11:33 -05:00
mark 55e7d6d1ed remove a todo 2020-04-18 11:11:33 -05:00
mark fe38e8a9de fix links 2020-04-18 11:11:33 -05:00
mark beb654898f line lengths 2020-04-18 11:11:33 -05:00
mark 443e47cb1f add a few todos 2020-04-18 11:11:33 -05:00
mark 31ae8b8b07 write a bit about bootstrapping 2020-04-18 11:11:33 -05:00
mark e154e2684d add a note on tcx name 2020-04-18 11:11:33 -05:00
mark 6cdb777909 break long sentence 2020-04-18 11:11:33 -05:00
mark cc3fb247dd Improve description of MIR
Co-Authored-By: Centril <twingoow@gmail.com>
2020-04-18 11:11:33 -05:00
mark 2d81262bc0 correct the note about HAIR 2020-04-18 11:11:33 -05:00
mark cc6b013460 mention token stream as an IR 2020-04-18 11:11:33 -05:00
mark 4c50a79b08 mention the hair 2020-04-18 11:11:33 -05:00
mark cb68eca0c1 Add some entry points
Co-Authored-By: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-18 11:11:33 -05:00
mark 9fd274d967 fix old rustc-dev-guide links 2020-04-18 11:11:33 -05:00
Chris Simpkins 10d6839434 Update src/overview.md
Co-Authored-By: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-18 11:11:33 -05:00
Chris Simpkins df51d81272 Update src/overview.md
Co-Authored-By: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-18 11:11:33 -05:00
Chris Simpkins 0783019c12 [overview.md] Add command line argument parsing, lexer stages, and parser outline 2020-04-18 11:11:33 -05:00
mark a43ef4d3b3 Apply Centril suggestions
Co-Authored-By: Centril <twingoow@gmail.com>
2020-04-18 11:11:33 -05:00
mark 62e6bd0131 correct a few links 2020-04-18 11:11:33 -05:00
mark fe12e05523 add overview 2020-04-18 11:11:33 -05:00
Jan-Erik Rediger d7b4c7e899
Start with the basics (#675)
* The very first step should be to clone the repository

* Make the command copy-able

By having the plain command users can select and copy the text and paste
it, without needing to fiddle around to remove extra characters.

Now that the previous command switched directories it is not necessary
to be called out here again either.

* Update src/building/how-to-build-and-run.md

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-04-17 21:16:56 +09:00
Ralf Jung f9b673309f
codegen tests: add link to LLVM FileCheck docs (#673) 2020-04-12 02:34:25 +09:00
Arlo Siemsen b315ce5219 Add section describing source file checksums in debug info 2020-04-08 15:50:31 -05:00
Who? Me?! 7adfab42ba
fix a link (#672) 2020-04-08 08:52:05 +02:00
Chris Simpkins 826eddfbcc mark-i-m review edits 2020-04-07 12:11:56 -05:00
Chris Simpkins 2e90d88241 consistent section title casing 2020-04-07 12:11:56 -05:00
Chris Simpkins daa1d91013 update about-this-guide.md with new Guide sections 2020-04-07 12:11:56 -05:00
Who? Me?! 269b5f08e7
Reorganize the guide (#651)
* start on guide reorg

* backend intro

* part 2, 3, 4 intros

* some missing files

* Fix typos

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>

* add links from intro

* rename compiler source chapter and add placeholder for overview

* rename parts, mv rustc_driver to part 3, make syntax chapter

* update part intros

* add syntax ch intro

* address review comments

* Better overview chapter placeholder

Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>

* fix link

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-04-06 13:23:34 -03:00
Paul Daniel Faria c33f0c6158 Remove duplicate trait reference entry from glossary, fix alphabetical sorting 2020-04-06 10:41:28 -05:00
LeSeulArtichaut af75c1001a Rework commit message 2020-04-05 12:49:29 -05:00
LeSeulArtichaut 255bf3cf35 Note that the invocation now are aliases 2020-04-05 12:49:29 -05:00
LeSeulArtichaut fabea21d80 Change ICE-breaker ping to use the aliases
Related to rust-lang/rust#69949
2020-04-05 12:49:29 -05:00
Paul Daniel Faria 0833cdbcd8 Wrap link in borrow_check.md to satify line length checks 2020-04-05 12:46:22 -05:00
Paul Daniel Faria 6e91f8d0e9 Add ids to all glossary items, make existing glossary links point to glossary, add links for def id in query.md 2020-04-05 12:46:22 -05:00
Tshepang Lekhonkhobe 14a08a3663 remove stupid-stats, and some references to removed API 2020-04-04 13:36:17 -05:00
Tshepang Lekhonkhobe e89d981d41
add pre-requisite for calling into compiler API (#663) 2020-04-04 09:37:39 +02:00
Paul Daniel Faria e1301ac847
Add BodyId to glossary, and links for ids to HIR identifiers section (#660) 2020-04-03 19:22:08 +02:00
Santiago Pastorino 27269235d3
Update some projects locations (#658) 2020-04-02 18:40:15 +02:00
Who? Me?! 8a1879a279 Shorten line 2020-04-01 20:09:08 -05:00
George Fraser d3cca657f3 Update src/SUMMARY.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-04-01 20:09:08 -05:00
George Fraser c27285e707 Update src/rustc-driver-interacting-with-the-ast.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-04-01 20:09:08 -05:00
George Fraser aee609b57e How to get the type of an expression using rustc_interface 2020-04-01 20:09:08 -05:00
Santiago Pastorino f212f322fb
Remove left overs from HackMD migration (#655) 2020-04-01 16:25:14 +02:00
Tshepang Lekhonkhobe 610d8e89d6
Resolver trait moved (#652) 2020-04-01 11:04:45 +02:00
Tshepang Lekhonkhobe 498f7bd279
add link for Resolver::resolve_crate (#653) 2020-04-01 10:57:35 +02:00
Tshepang Lekhonkhobe af7286d2c8
add some type inference links, and fix/improve some stuff (#654) 2020-04-01 10:52:31 +02:00
Tshepang Lekhonkhobe e2c733c481 it is rustc_parse, not rustc_parser 2020-03-31 22:17:35 -05:00
Tshepang Lekhonkhobe d3f1ef2a87 follow 4-space indent idiom 2020-03-31 22:17:15 -05:00