Commit Graph

1921 Commits

Author SHA1 Message Date
Oli Scherer 72906c9bed Address review comments 2021-10-08 15:41:06 -05:00
Oli Scherer dc16b5293b Document tracing awesomeness 2021-10-08 15:41:06 -05:00
Oli Scherer 013c8892dd Move log/tracing instructions to its own file 2021-10-08 15:41:06 -05:00
Eric Holk 0cff8fbeec Update src/closure.md
Co-authored-by: Joshua Nelson <github@jyn.dev>
2021-10-07 17:48:12 -05:00
Eric Holk 67faab2aa2 Fix accidental HTML tag
The markdown parser was interpreting the `<something>` in `adjust_upvar_borrow_kind_for_<something>` as an HTML tag that was hidden in the rendered text. This minor edit fixes that.
2021-10-07 17:48:12 -05:00
Janggun Lee b71e9792c7
Update links to `rustc_mir` in Two Phase Borrows (#1226)
https://github.com/rust-lang/rust/pull/80522 split the `rustc_mir` crates into 5 crates, effectively invalidating all the direct links to `rustc_mir` in the docs.

I found this while looking at the Two Phase Borrows doc, which is why I am giving out this PR to fix this.
2021-10-06 09:07:51 -03:00
Noah Lev b5b3c0aa04
Update some docs from 2021-10 date triage (#1224) 2021-10-05 17:24:24 -03:00
Dave Farnham d1f03cbaa3
Fix a typo on closure.md (#1218) 2021-09-24 12:00:29 +09:00
lcnr 82d4c5604d const generics update 2021-09-20 12:35:16 -05:00
Tomasz Miąsko 17957567f7 s/--blessed/--bless/ 2021-09-19 10:36:26 -05:00
Frank Steffahn 56f6bdbb70 Make indentation consistent in example vscode config file 2021-09-17 16:52:56 -05:00
Frank Steffahn 60ef9da723 Suggests `--edition=2018` argument when using stage0/bin/rustfmt directly 2021-09-17 14:53:44 -05:00
lcnr 09bf2bd2df
`ty::Unevaluated`: dealing with unused substs (#1190)
* unused ct substs

* q

* q

* Update src/constants.md

Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2021-09-17 15:50:26 -04:00
Sl1mb0 8c39edb660
Parallel codegen (#1206)
* Described underlying data structures in parallel code generation and crates they are used in
* Added links
* replace crate information with description of types
2021-09-16 20:58:07 -05:00
Eric Huss 9198465b6c Clarify difference of a help vs note diagnostic. 2021-09-12 11:50:44 -05:00
Andrey Cherkashin 295922ec93 remove ctag section 2021-09-08 15:13:44 -05:00
Andrey Cherkashin 8f98dac74d Update suggested.md 2021-09-08 15:13:44 -05:00
Andrey Cherkashin d1f77858e7 Update SUMMARY.md 2021-09-08 15:13:44 -05:00
Andrey Cherkashin fb62bc398f Move ctag section to "Suggested Workflow" 2021-09-08 15:13:44 -05:00
Andrey Cherkashin 5b607d9862 Delete ctags.md 2021-09-08 15:13:44 -05:00
Noah Lev 9a42b37519 Clarify paragraph in "Keeping things up to date" 2021-09-08 12:36:10 -05:00
Timothy Maloney 0cc70fcaf1 Docs: added section on rustdoc 2021-09-07 11:08:38 -05:00
Timothy Maloney 0eb2c70cf5 Docs: made suggested fix 2021-09-07 11:08:38 -05:00
Timothy Maloney 1df026246a Docs: deleted copy 2021-09-07 11:08:38 -05:00
Timothy Maloney c31ec83e91 Docs: added section discussing core ideas 2021-09-07 11:08:38 -05:00
Timothy Maloney 78afd53e8a Docs: delete redundant use of correctness 2021-09-07 11:08:38 -05:00
Timothy Maloney 0fe44f730b Docs: consolidated parallelism information 2021-09-07 11:08:38 -05:00
Dezhi Wu 71d88b345f
Add links to overview.md (#1202) 2021-09-06 18:34:16 -03:00
sjud a5dea10a46 Spelling change intermidiate to intermediate
Very importent change.
2021-09-05 12:11:19 -05:00
Dezhi Wu 30826ca7d8
Fix a typo (#1200) 2021-09-05 09:40:35 -03:00
Fridtjof Stoldt 139b8fb11b
Documenting diagnostic items with their usage and naming conventions (#1192)
* Documenting diagnostic items with their usage and naming conventions

* Fixed typos in diagnostic items documentation

Co-authored-by: Camelid <camelidcamel@gmail.com>

Co-authored-by: Camelid <camelidcamel@gmail.com>
2021-09-01 11:26:58 -07:00
Noah Lev 95f1acf9a3 Add link to `Span` 2021-08-31 12:38:30 -05:00
Joshua Nelson 9be3fafda6
Add rustc-source to suggested rust-analyzer config (#1189)
This allows loading the sources for crates loaded from the sysroot.
2021-08-31 10:13:18 -07:00
Noah Lev fa6a787cfd Fix typo, clarify backtick wording, and use inline code 2021-08-31 12:08:01 -05:00
Frank Steffahn 2f447292ff
Trailing date comments in a line inside of a paragraph caused beginning of a new paragraph. (#1196)
This PR fixes the 2 occurrences of that.
(I'm not sure if there's an underlying issue with mdbook or if this is working as intended.)
2021-08-28 08:26:16 -03:00
Frank Steffahn 7f8f19fd97
Fix warning "Renderer command uses a path relative to the renderer output directory ..." (#1194) 2021-08-28 16:35:36 +09:00
Frank Steffahn 0e5be8a943 Fix a code block containing ```rust
This wasn't displayed correctly.
Changing `` ```rust `` to `` ```rust`` made it a code block again,
but the leading space was rendered as-well.
(This may be an issue in mdbook, but I'm not sure.)

This commit changes it to use HTML-syntax in order to get the desired result.
2021-08-27 15:13:38 -05:00
Noah Lev e1dde3c2a5 date-check: Recognize capitalized 'Date' as well
Now, if people use 'Date' instead of 'date', it won't be ignored.
2021-08-26 18:53:17 -05:00
Frank Steffahn cf0e151b79
Fix typo “a Rc” → “an Rc” (#1191) 2021-08-22 11:47:02 -03:00
Smittyvb 77a9813ae0
Expand THIR section with more details (#1183)
* Expand THIR section with more details
* Remove incorrect reference to `HirId`s

Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2021-08-21 19:55:56 -04:00
Smitty 9a6bd9fc98 Remove docs for old -Z profile-queries flag 2021-08-16 08:20:03 -05:00
Tshepang Lekhonkhobe 74b138e1f0 update mdbook version to latest
v0.4.7 didn't have the feature to allow this

See https://github.com/rust-lang/rustc-dev-guide/pull/1180#issuecomment-899128718
2021-08-15 20:47:42 -05:00
Tshepang Lekhonkhobe 1d9af90889 allow to quickly edit a page directly on github 2021-08-15 20:47:42 -05:00
Rahul Butani c4644b427c
Remove a dead link in `new-target.md` + other nits (#1186) 2021-08-10 20:41:44 +09:00
Bryan Cantrill e218184b68
Add description of -opt-bisect-limit LLVM option (#1182) 2021-08-07 10:12:22 +02:00
Yoh Deadfall 809f4d1d33
Fixed team responsible for stabilization (#1181) 2021-08-05 13:41:16 +02:00
the8472 d111b3ea7e
Add S-Inactive PRs as another source of things contributors could work on (#1177) 2021-07-29 06:05:19 +02:00
Dave f094672828 git.md: Fix No-Merge Policy link 2021-07-28 09:45:23 -04:00
Ben Reeves 09343d6f92
Fix typo in building/bootstrapping.md (#1175) 2021-07-26 00:37:28 +02:00
Noah Lev f2c4bba539
Link directly to stabilization report comments (#1173)
Previously, readers had to scroll through tons of comments to find the
report.
2021-07-20 17:39:41 -07:00