Commit Graph

1299 Commits

Author SHA1 Message Date
Who? Me?! 3dcd4e393f
Remove unneeded hashmarks (#826)
Co-authored-by: Joshua Nelson <jyn514@gmail.com>
2020-08-17 04:51:37 +09:00
Matthew Jasper f08527cc4b Address revuew comments 2020-08-16 14:14:35 -05:00
Matthew Jasper 6ff87f49ba Document serialization in rustc 2020-08-16 14:14:35 -05:00
Takayuki Nakata 4657fbcda7
Some small fixes (#823)
* Fix some typos
* Update from `typeck_tables_of` to `typeck`
* Fix comment
2020-08-11 19:36:48 -04:00
Takayuki Nakata cb51d0e1f0 Use angle brackets to turn URL into a link 2020-08-04 09:50:19 -04:00
Takayuki Nakata f1cf48835d Fix typo 2020-08-04 09:50:19 -04:00
Takayuki Nakata eb0522c4ac Fix a broken link 2020-08-04 09:50:19 -04:00
Takayuki Nakata ec373ae12e Enable a link 2020-08-04 09:50:19 -04:00
Takayuki Nakata 44f1ab3bcf Some small fixes 2020-08-03 11:07:57 -05:00
Takayuki Nakata 04bd4ccd97 Fix typo 2020-08-03 11:07:57 -05:00
Takayuki Nakata 2cc652be17 Fix: crates -> a list of crates 2020-08-03 11:07:57 -05:00
Takayuki Nakata 4db8160fa3 Avoid "whitelist"
Fixed according to 62cf767a4a
2020-08-03 11:07:57 -05:00
Yuki Okushi 4e41d060c1 Prefer `::` than `.` 2020-08-02 23:16:01 -05:00
Yuki Okushi e54d59ca74 Fix link/wording for `parse_nt` 2020-08-02 23:16:01 -05:00
Who? Me?! cec6addcaf Typo
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-02 19:44:04 -05:00
mark f8dfca5001 some updates after std libs move 2020-08-02 19:44:04 -05:00
Who? Me?! 5756aa3ecf Typo
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-02 19:44:04 -05:00
mark 6f98316930 mention the overview chapter 2020-08-02 19:44:04 -05:00
Who? Me?! fc7b7a5723 Link to overview ch instead of internals
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-02 19:44:04 -05:00
mark 0dab310a1b missing link 2020-08-02 19:44:04 -05:00
mark abd77148a4 add a bit more discussion of big picture 2020-08-02 19:44:04 -05:00
mark 041e86cb95 fix typo 2020-08-02 19:44:04 -05:00
mark 146635d7ff line length 2020-08-02 19:44:04 -05:00
mark 80c2dfd9d6 rewrite/update compiler source code chapter 2020-08-02 19:44:04 -05:00
Yuki Okushi 61824dde4f Mention `HAIR` to clarify 2020-08-02 08:39:33 -05:00
Yuki Okushi d89c8c9b12 Rename `HAIR` to `THIR` 2020-08-02 08:39:33 -05:00
Yuki Okushi c7a3bca829 Adjust mentions about CI to GitHub Actions 2020-08-02 08:38:26 -05:00
Yuki Okushi f8012dbf42
Rename `src/libstd` to `library/std` etc. (#815) 2020-07-30 22:47:22 +09:00
Jake Goulding 5bde3efd90
Add basic steps for a new target (#805)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-07-29 04:41:28 +09:00
Joshua Nelson eeca3757b8
Update docs to match the new x.py defaults (#813) 2020-07-29 04:20:00 +09:00
Yuki Okushi e20ac5d64b
Add RISC-V notification group instructions (#814)
* Clean-up notification groups instructions

* Add RISC-V notification group instructions

* Re-order summary of notification groups

* Add a list of the notification groups

* Apply review suggestion
2020-07-28 19:06:07 +02:00
Santiago Pastorino 87a11a3045
Fix MIR to LLVM IR sentence (#811) 2020-07-28 05:03:37 +09:00
David Wood fd458b988c
Expand on the documentation for polymorphization. (#803)
This commit elaborates on the existing documentation for
polymorphization now that polymorphization has almost landed
in rustc.

Signed-off-by: David Wood <david@davidtw.co>
2020-07-22 19:42:50 +09:00
Yuki Okushi aecb593979
Fix links for cranelift (#809) 2020-07-22 19:32:21 +09:00
Federico Ponzi 63536944b0
Fixes menu for rustdoc page (#804) 2020-07-18 19:18:06 +09:00
Yuki Okushi 26adefdb05
Clean-up minor issues (#802) 2020-07-18 00:00:34 +09:00
Felix S Klock II 467d429597
Update chat info to reflect decision to close down Discord `#compiler`. (#800)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-07-17 13:01:31 +09:00
Takayuki Nakata e403d51932
Change `rustc::*` to `rustc_middle::*` (#798) 2020-07-16 11:13:49 +09:00
Santiago Pastorino 3078d380cf Resync config.toml and suggest better settings 2020-07-14 15:03:16 -05:00
Yuki Okushi 2c49ec2367 Fix typos 2020-07-14 14:26:41 -05:00
Yuki Okushi 37ab8da24d Fix distortions of "representation" 2020-07-14 14:26:41 -05:00
Joshua Nelson f196779cbe Improve getting-started guide
- Clean up wording
- Suggest `build --stage 1 src/libstd`, which doesn't recompile rustc
twice unnecessarily
- Fix rustdoc globs which only work on Linux
- Add suggestion for `build --stage 0 src/libstd`
- Suggest `-j1` for very slow builds
- Suggesting letting CI run tests when using a slow machine
2020-07-14 14:24:40 -05:00
Takayuki Nakata d3e682e590
Fix the difference of title in appendix A (#793) 2020-07-14 10:06:22 +09:00
Ivan Veselov 3394e1696a
Earlier clarification of pFCP abbreviation (#791) 2020-07-12 10:29:17 +09:00
Ivan Veselov 745c831429 Fix typo: review -> reviewer 2020-07-11 09:30:19 -05:00
Santiago Pastorino b04ff74782 inluding -> including 2020-07-10 16:47:54 -05:00
Matt Kraai 954802cc68
Canonicalize part 1 name (#788) 2020-07-05 08:19:10 +09:00
Nadrieril f3339032d6 Suggest selectively disabling optimizations 2020-07-04 18:06:41 -05:00
Eric Huss eb07beaf8e Update bug report links. 2020-07-04 13:09:55 -05:00
Yuki Okushi 87b9ecf2bb Fix link for armhf-gnu Dockerfile 2020-07-04 13:06:27 -05:00
Eric Huss 689eca469d Update docs on using Docker images. 2020-07-04 12:44:57 -05:00
Takayuki Nakata 2c51b6f628
Fix jump marker of debruijn index (#783) 2020-07-04 00:31:52 +09:00
Eric Huss 30518e3df2
Minor updates to stage docs. (#781) 2020-07-04 00:28:44 +09:00
Who? Me?! 7a42bf2c92
add stub inline asm chapter (#773) 2020-07-03 07:37:29 +09:00
Takayuki Nakata bd1801c8b9 Fix the names of table of contents and heading are different
Not to write the part of Appendix `A` in heading along with other appendix.
2020-07-02 15:44:52 -05:00
mark b85f30d013 fix links 2020-07-01 22:07:52 -05:00
Who? Me?! 00b67a55de Escape other non-link
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-07-01 22:07:52 -05:00
Who? Me?! c2c219af6c Fix non-link
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-07-01 22:07:52 -05:00
mark e82626f802 fix links 2020-07-01 22:07:52 -05:00
mark dbaa12ec12 fix links 2020-07-01 22:07:52 -05:00
mark 431df827e2 line length 2020-07-01 22:07:52 -05:00
mark b1198eff6b move CONTRIBUTING.md to rustc-dev-guide 2020-07-01 22:07:52 -05:00
pierwill 0006f19915
Edit Part 2 introduction (#777)
* Edit Part 2 introduction

* needs a pause

Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>
2020-07-01 13:26:25 +02:00
mark fe7856889a fix file name 2020-06-30 16:04:28 -05:00
Who? Me?! 99745b9931 Move Getting Started to a "prefix chapter" 2020-06-30 16:04:10 -05:00
Who? Me?! fd4c83f4ab Move Errors and Lints to Analysis 2020-06-30 16:03:50 -05:00
Yuki Okushi 19f7d2e77d
Rename resolvers following the latest rustc change (#776) 2020-06-30 16:22:38 +02:00
pierwill 2c6f17671f Edit ty.md
Makes various edits throughout for formatting, punctuation, and typo fixes.
Also makes some edits and re-wording for clarity.
2020-06-28 18:39:46 -05:00
Joshua Nelson be8c8bb7bc Fix line lengths 2020-06-28 12:15:23 -05:00
Joshua Nelson 1c68f636cf Improve wording and fix typos
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-06-28 12:15:23 -05:00
Joshua Nelson c1c66a82f2 Revamp bootstrapping section
- Move most of the overview to building/bootstrapping.md
- Add things besides stages to bootstrapping.md
2020-06-28 12:15:23 -05:00
Aaron Hill b7095995aa Add 'recovery' to the gloassary 2020-06-27 11:05:32 -05:00
Who? Me?! e7db51faca Fix formatting 2020-06-24 21:38:54 -05:00
Who? Me?! 093b9032de
Upgrade to mdbook 0.4 and switch to book parts (#764)
* upgrade to mdbook 0.4 and switch to book parts

* update linkcheck

* fix links, update about-this-guide
2020-06-24 14:47:50 -03:00
Joshua Nelson 2e104620d1 Move x.py commands to overview 2020-06-23 17:40:16 -05:00
Joshua Nelson 4329b8e91a Split up rustdoc page 2020-06-23 17:40:16 -05:00
Joshua Nelson b8065faa0f Move rustdoc to 'How to build the compiler'
The old layout was less about rustdoc and more about the compiler:
"Here is an example of a project using rustc_interface".
This gives focus to rustdoc on something you might want to work on for
its own sake. It also makes the page much easier to find for newcomers.
2020-06-23 17:40:16 -05:00
Drew Youngwerth 917f7efa28 Small spelling fix. 2020-06-23 12:44:15 -05:00
mark ca5591815c address review comments 2020-06-23 12:42:06 -05:00
Florian Gilcher f85ef8ec94 Add prerequisite page 2020-06-23 12:42:06 -05:00
Andy Russell 21ee99e5af add suggestion style guide
The guide is based on [existing rustdoc].

[existing rustdoc]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_errors/struct.Diagnostic.html#method.span_suggestion
2020-06-23 12:35:07 -05:00
Who? Me?! d103f0d897 Fix links for now. 2020-06-23 00:35:54 -05:00
ThePuzzlemaker 34df55db77 Add information about size for building the Rust Compiler
The Rust codebase is large, not to mention the submodules. It would be helpful for some to have a warning or note about storage required before they spend possible hours to build, only to get a message in some form that they are running out/already out of storage. I did a stage1 build incrementally and it produced a build directory of about 14 gigabytes.
2020-06-22 15:48:14 -05:00
Who? Me?! a10ba12047
Fix master branch links (#757)
* fix links

* some debugging

* more debugging

* fix git checkout in ci

* try again

* already tests with a merge

* Typo

Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>

Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>
2020-06-21 20:25:43 +02:00
Who? Me?! 45e540ca81
new tykind::error convention (#715) 2020-06-19 07:55:58 +02:00
mark 6c580ad664 fix line length 2020-06-18 12:16:00 -05:00
mark f880b1b21a address a bunch of review comments 2020-06-18 12:16:00 -05:00
Who? Me?! d90acc8e37 LeSeulArtichaut wording/typo fixes
Co-authored-by: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-06-18 12:16:00 -05:00
mark c99d5245be address review comments 2020-06-18 12:16:00 -05:00
Who? Me?! 46099c094e Apply suggestions from code review
Co-authored-by: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-06-18 12:16:00 -05:00
Who? Me?! 814d27d760 Better wording
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-06-18 12:16:00 -05:00
mark e1c7b6ce92 Slightly reorganize to first present the slow command then the fast commands 2020-06-18 12:16:00 -05:00
mark db004ad24f add a note about disk space 2020-06-18 12:16:00 -05:00
mark e72e2c5613 python 3 also 2020-06-18 12:16:00 -05:00
Who? Me?! aa9b3ecc22 Apply suggestions from code review
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Co-authored-by: Phil Hansch <dev@phansch.net>
2020-06-18 12:16:00 -05:00
mark 69baf677ef add forge 2020-06-18 12:16:00 -05:00
Who? Me?! 5ff627e2d5 Apply suggestions from code review
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-06-18 12:16:00 -05:00
mark 5784b6cb92 add note on submodules 2020-06-18 12:16:00 -05:00
mark e2620a8199 add a bit more 2020-06-18 12:16:00 -05:00
mark 2abbee9b5c fix link 2020-06-18 12:16:00 -05:00
mark b5e41a5e0c mention incremental disk space 2020-06-18 12:16:00 -05:00
mark 73d88a1385 a couple more small changes 2020-06-18 12:16:00 -05:00
mark d255b4a0cb some minor updates 2020-06-18 12:16:00 -05:00
mark ba2d73db5f write about processes 2020-06-18 12:16:00 -05:00
mark c5c498ca19 address some review comments 2020-06-18 12:16:00 -05:00
Who? Me?! 324eb69950 Typo fixes
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-06-18 12:16:00 -05:00
mark 8fbc9f5241 start a getting started guide 2020-06-18 12:16:00 -05:00
Eric Huss 708acbc72b
Add a link to the forge procedure on adding new options. (#754) 2020-06-18 10:33:15 +02:00
Joshua Nelson 163efc6fcd Don't give `x.py clean` as the first x.py example
This command shouldn't be used very often, and it has its own whole
section below anyway.
2020-06-18 04:41:59 +02:00
Joshua Nelson 178e3052b2 Document rustdoc behavior
- `RUSTDOC_LOG`
- `// aux-build:filename.rs`
- `// build-aux-docs`
2020-06-17 09:24:41 -05:00
Eric Huss 4228f46777 Add some more detail on compiletest normalization. 2020-06-16 23:14:05 -05:00
Ralf Jung 5371f13236
tag/niche terminology (#747) 2020-06-11 12:38:42 +02:00
LeSeulArtichaut 3b1866b1ea
Clean up the paragraph about aliases for pinging the notification groups (#743)
* Clean up the paragraph about aliases for pinging the notification groups

* Add windows and arm command invocations

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>
2020-06-10 18:04:19 -04:00
LeSeulArtichaut e647444811
Include "Lint" in the title of the diagnostics chapter (#742) 2020-06-10 15:19:59 -03:00
Niko Matsakis 1a229d6d60 complete the ICE-breaker => notification group rename 2020-06-09 18:03:33 -05:00
Niko Matsakis 089b82651d
add the ARM notification group (#740) 2020-06-09 23:58:22 +02:00
Niko Matsakis e349f81b22
Rebrand ICE-breakers, introduce Windows notification group (#739)
* rename ice-breakers to the more general notification-group

also less confusing

* add windows notification group

* rebrand LLVM ICE-breakers as a "notification group"

* include the link to example windows PR
2020-06-09 16:42:00 -03:00
Tomasz Miąsko 42520d3ca8 Document needs-* compiletest directives 2020-06-08 12:33:35 -05:00
Who? Me?! caac584a9e
Add a bit about various type system concepts (#697)
* add a bit on dataflow analysis

* add a bit on quanitification

* add a bit on debruijn index

* add a bit on early and late bound params

* add missing link

* Typos

Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>

* clarify dataflow example

* fix formatting

* fix typos

* Typos

Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>

* fix errors in background

* remove dup material and make early/late intro short

* adjust intro

* Niko's intro

Co-authored-by: Niko Matsakis <niko@alum.mit.edu>

Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2020-06-05 13:11:09 -03:00
Bastian Kauschke 8a9a1f935f
update conventions (#735)
* update conventions

* typo

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>
2020-06-05 13:06:39 -03:00
Bastian Kauschke 8c8130ed2d braces 2020-06-05 10:34:56 -05:00
Bastian Kauschke 8f2e466f3c words 2020-06-05 10:33:15 -05:00
Who? Me?! 7119767f69
Fix link (#734) 2020-06-05 17:10:01 +02:00
LeSeulArtichaut 2c2fb3f05f
Add more info on useful workflows (#727)
* Add more info on useful workflows

* Apply suggestions from code review

Co-authored-by: mark-i-m <mark-i-m@users.noreply.github.com>
Co-authored-by: spastorino <spastorino@gmail.com>

Co-authored-by: mark-i-m <mark-i-m@users.noreply.github.com>
Co-authored-by: spastorino <spastorino@gmail.com>
2020-06-03 22:46:04 +02:00
Yuki Okushi b381598b3f
Update lint declaration example (#713) 2020-05-30 08:49:25 +09:00
Tom Eccles 8a5438b4b1 Document more //ignore-X test headers 2020-05-29 13:27:03 -05:00
Tom Eccles a6bace14e4 Document remote testing 2020-05-29 13:27:03 -05:00
LeSeulArtichaut 55c92daeb6
Document `RUSTFLAGS_STAGE_` bootstrap environment variables (#728)
* Document `RUSTFLAGS_STAGE_`

* Fix typos

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-30 01:20:24 +09:00
Chris Simpkins c9850bb7d2 Update src/tests/adding.md
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-28 19:57:59 -05:00
Chris Simpkins 8ca0464e65 add documentation of UI test error annotation substring support 2020-05-28 19:57:59 -05:00
Chris Simpkins 6a54bc6dab
Expand error annotations section with examples (#724)
* expand error annotations section with examples

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-29 02:43:22 +09:00
Eric Huss d7067f19d2 Clarify lint vs fixed diagnostic. 2020-05-27 20:33:46 -05:00
Eric Huss 4d94eb902e Updates from review. 2020-05-27 20:33:46 -05:00
Eric Huss 1e8a467bc2 Apply suggestions from code review
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-05-27 20:33:46 -05:00
Eric Huss 39edbe59ed Add some guidelines on diagnostics. 2020-05-27 20:33:46 -05:00
LeSeulArtichaut aca2a716ea Apply suggestions from code review
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-05-27 15:17:33 -05:00
LeSeulArtichaut 54d64bd8ac Fix typo
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-27 15:17:33 -05:00
LeSeulArtichaut 8bb723c673 Add definition of `niche` to the glossary 2020-05-27 15:17:33 -05:00
Eric Huss 6e2b70c9df Move CLI to part 3. 2020-05-27 12:35:13 -05:00
Eric Huss ba1a8dfd35 Apply suggestions from code review
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-05-27 12:35:13 -05:00
Eric Huss fe96650d1a Add some guidelines on the CLI. 2020-05-27 12:35:13 -05:00
Michael Bryan 6d5e0740f5
It looks like the high-level-overview was renamed (#721) 2020-05-28 00:04:56 +09:00
LeSeulArtichaut 4295e7b578
Add section for debugging rustc type layouts (#720) 2020-05-27 14:17:39 +02:00
Yuki Okushi f53fc666ea Rename `upvars` query to `upvars_mentioned` 2020-05-26 11:05:21 -05:00
Yuki Okushi c2561c4351
Update docs related to const-eval/Miri (#676)
* Update docs related to const-eval

Co-authored-by: Ralf Jung <post@ralfj.de>
2020-05-25 17:23:15 +09:00
Adam Perry d10f70b005
Extern blocks are allowed for #[track_caller] now. (#710)
since https://github.com/rust-lang/rust/pull/70916
2020-05-23 22:40:23 +02:00
Paul Daniel Faria 59c9fa7b3e
Fix BodyId link typo in glossary (#709)
* Fix BodyId link typo in glossary

* Fix broken link to rustc_middle's Predicate
2020-05-23 16:25:53 -04:00
Chris Simpkins 266ab6e3a9
typo fix (#706) 2020-05-19 11:30:27 +09:00
Jade McGough 7fb45e52e9
Add missing closing paren (#705) 2020-05-16 21:19:52 -04:00
Tshepang Lekhonkhobe 8e126df6fe Update src/appendix/glossary.md
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-05-11 23:52:00 +02:00
Tshepang Lekhonkhobe d7649f4b44 glossary: make soundness definition more readable 2020-05-11 23:52:00 +02:00
Who? Me?! 95420468b9
fix links (#702) 2020-05-11 16:51:33 -03:00
Tshepang Lekhonkhobe 1caba74063
glossary: intro feels like not adding much (#699) 2020-05-11 07:57:46 +02:00
Who? Me?! c386ec3d1a Fix typo 2020-05-08 12:02:56 -05:00
Who? Me?! b6d140f789 Typo
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-05-08 09:42:27 -05:00
mark d1bb132780 add some section headers 2020-05-08 09:42:27 -05:00
mark 1f6d127a70 move discussion of eager expansion to the end 2020-05-08 09:42:27 -05:00
Who? Me?! 9c7befcdd8 Use full path of span
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-05-08 09:42:27 -05:00
Who? Me?! 2d639a3696 Typos
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-05-08 09:42:27 -05:00
mark 7e916519ed fix some links 2020-05-08 09:42:27 -05:00
mark 5dedd70447 fix line length 2020-05-08 09:42:27 -05:00
mark bc9c0e6c35 SPRINKLE ALL THE THINGS 2020-05-08 09:42:27 -05:00
mark a1cf766577 sprinkle around a bunch of links 2020-05-08 09:42:27 -05:00
mark f05ff9c30d expand notes on expansion heirarchies 2020-05-08 09:42:27 -05:00
mark ba8620f34a add a bit more info about eager exp 2020-05-08 09:42:27 -05:00
mark e8f918c0ba expand some notes about expansion :P 2020-05-08 09:42:27 -05:00
mark 0980ebf2c6 reorganize the macro expansion chapter 2020-05-08 09:42:27 -05:00
mark 3f23b32c63 add note about macros in parser chapter 2020-05-08 09:42:27 -05:00
mark d62ed17895 reorder some chapters 2020-05-08 09:42:27 -05:00
mark 6ee323dce3 add a bit to syntax intro 2020-05-08 09:42:27 -05:00
mark 5d0cdc814a add a bit to part 3 intro 2020-05-08 09:42:27 -05:00
mark b8935a916b get rid of old todo 2020-05-08 09:42:27 -05:00
mark 984d5a8b4d finish going through discussion 2020-05-08 09:42:27 -05:00
mark ff2f232772 more notetaking 2020-05-08 09:42:27 -05:00
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