Commit graph

1625 commits

Author SHA1 Message Date
Yusuke Abe
0ed4e95a01 Update some docs from 2021-10 date triage (#1230) 2021-10-12 08:52:21 +09:00
Noah Lev
f4708b660c Recommend rustfmt --edition=2021 2021-10-10 08:28:12 -05:00
Tomasz Miąsko
b254205874 Update sanitizer documentation 2021-10-08 15:49:53 -05:00
Tomasz Miąsko
c69f918740 Mention needs-sanitizer-hwaddress directive 2021-10-08 15:49:53 -05:00
Oli Scherer
f2a1905391 Address review comments 2021-10-08 15:41:06 -05:00
Oli Scherer
092edd44bf Document tracing awesomeness 2021-10-08 15:41:06 -05:00
Oli Scherer
fcb1a70ecd Move log/tracing instructions to its own file 2021-10-08 15:41:06 -05:00
Eric Holk
ab3dba9a02 Update src/closure.md
Co-authored-by: Joshua Nelson <github@jyn.dev>
2021-10-07 17:48:12 -05:00
Eric Holk
d6a3ab3cc1 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
c3c390f4f8 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
555649cb24 Update some docs from 2021-10 date triage (#1224) 2021-10-05 17:24:24 -03:00
Dave Farnham
624f0bdf86 Fix a typo on closure.md (#1218) 2021-09-24 12:00:29 +09:00
lcnr
8f60378e36 const generics update 2021-09-20 12:35:16 -05:00
Tomasz Miąsko
562ab2f037 s/--blessed/--bless/ 2021-09-19 10:36:26 -05:00
Frank Steffahn
3f4a67efb9 Make indentation consistent in example vscode config file 2021-09-17 16:52:56 -05:00
Frank Steffahn
b0220ed1f0 Suggests --edition=2018 argument when using stage0/bin/rustfmt directly 2021-09-17 14:53:44 -05:00
lcnr
1325d517f5 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
4e4e1f4a31 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
8e42e56dd6 Clarify difference of a help vs note diagnostic. 2021-09-12 11:50:44 -05:00
Andrey Cherkashin
6acf6c00c4 remove ctag section 2021-09-08 15:13:44 -05:00
Andrey Cherkashin
ade4c626d4 Update suggested.md 2021-09-08 15:13:44 -05:00
Andrey Cherkashin
85314a9470 Update SUMMARY.md 2021-09-08 15:13:44 -05:00
Andrey Cherkashin
4edd03e749 Move ctag section to "Suggested Workflow" 2021-09-08 15:13:44 -05:00
Andrey Cherkashin
5776fe0e30 Delete ctags.md 2021-09-08 15:13:44 -05:00
Noah Lev
ea9efd8873 Clarify paragraph in "Keeping things up to date" 2021-09-08 12:36:10 -05:00
Timothy Maloney
6daa71ca9c Docs: added section on rustdoc 2021-09-07 11:08:38 -05:00
Timothy Maloney
dcf46e4700 Docs: made suggested fix 2021-09-07 11:08:38 -05:00
Timothy Maloney
995489f95f Docs: deleted copy 2021-09-07 11:08:38 -05:00
Timothy Maloney
27056b0cf2 Docs: added section discussing core ideas 2021-09-07 11:08:38 -05:00
Timothy Maloney
c6899fc8ef Docs: delete redundant use of correctness 2021-09-07 11:08:38 -05:00
Timothy Maloney
01d3673c9d Docs: consolidated parallelism information 2021-09-07 11:08:38 -05:00
Dezhi Wu
6353743202 Add links to overview.md (#1202) 2021-09-06 18:34:16 -03:00
sjud
a2fe5e6d96 Spelling change intermidiate to intermediate
Very importent change.
2021-09-05 12:11:19 -05:00
Dezhi Wu
1717971ad4 Fix a typo (#1200) 2021-09-05 09:40:35 -03:00
Fridtjof Stoldt
3ba8fa3bc2 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
e2f933df26 Add link to Span 2021-08-31 12:38:30 -05:00
Joshua Nelson
0a8972aeb1 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
41fc234ac2 Fix typo, clarify backtick wording, and use inline code 2021-08-31 12:08:01 -05:00
Frank Steffahn
5575d62805 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
6839dc5bf9 Fix warning "Renderer command uses a path relative to the renderer output directory ..." (#1194) 2021-08-28 16:35:36 +09:00
Frank Steffahn
31241c77d1 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
352185d778 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
97f6dfef2e Fix typo “a Rc” → “an Rc” (#1191) 2021-08-22 11:47:02 -03:00
Smittyvb
281a814146 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
4cba5b3f72 Remove docs for old -Z profile-queries flag 2021-08-16 08:20:03 -05:00
Tshepang Lekhonkhobe
5d77984e03 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
451084b3bd allow to quickly edit a page directly on github 2021-08-15 20:47:42 -05:00
Rahul Butani
d0c4cafdc2 Remove a dead link in new-target.md + other nits (#1186) 2021-08-10 20:41:44 +09:00
Bryan Cantrill
630c8fe7a3 Add description of -opt-bisect-limit LLVM option (#1182) 2021-08-07 10:12:22 +02:00
Yoh Deadfall
9d5a487ffd Fixed team responsible for stabilization (#1181) 2021-08-05 13:41:16 +02:00