Commit graph

1717 commits

Author SHA1 Message Date
Yutaro Ohno
e0bb752dfe Fix format (#1349) 2022-05-09 09:17:51 +09:00
Ali MJ Al-Nasrawy
3ddc6e2f85 correct type of SubstsRef (#1347) 2022-05-07 09:58:20 +09:00
Who? Me?!
f320bf72a1 Document ErrorGuaranteed (#1316)
* document ErrorGuaranteed

* Fix typos

Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>

* Clarify Niko comment

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

Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2022-05-03 11:28:26 -03:00
pierwill
8c6f4f41ab Edit "What the compiler does to your code" (#1306)
* Edit overview.md

* Fix lexer crate

* Edit wording

Co-authored-by: pierwill <pierwill@users.noreply.github.com>
2022-05-02 17:10:45 -03:00
Yuki Okushi
d265ea3c8f Update some date refs 2022-04-20 13:09:19 -07:00
printfn
4a20975d07 Fix a small typo (#1343) 2022-04-20 18:57:49 +09:00
Felix S Klock II
89579a8037 Extend debugging llvm section (#1290) 2022-04-14 20:17:36 +09:00
scottmcm
5c6e839413 Send people doing *library* stabilizations over to the std-dev-guide (#1317)
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
2022-04-14 20:10:34 +09:00
Frank Steffahn
d290720497 Fix typo serious->series (#1336) 2022-04-14 19:46:54 +09:00
Eric Holk
3f26575287 Minor type fix (#1337) 2022-04-14 19:44:36 +09:00
David Wood
0fb43fd628 sessiondiagnostic: translation (#1333) 2022-04-14 14:57:32 +09:00
Matthew Woodcraft
6ef3617c8e method-lookup.md improvements (#1296) 2022-04-11 23:29:48 +09:00
Ivor Wanders
47d15af17b Consolidate crates.io convention section (#1326) 2022-04-11 22:51:22 +09:00
Ujjawal
ede045c69d Update examples with 1.61.0-nightly (latest version) (#1330)
Co-authored-by: Ujjawal Kumar <u.kumar@ukumar-ltmit1s.internal.salesforce.com>
2022-04-11 22:48:30 +09:00
Noah Lev
21fb9308bb r-a: Use python3 x.py instead of ./x.py (#1335) 2022-04-09 17:31:23 +09:00
Hongbo
690de884e2 Update miri.md: correct a minor typo (#1334) 2022-04-06 07:47:46 +09:00
xFrednet
86e586bc74 Add example how lints can be feature gated 2022-04-04 13:16:08 -07:00
lcnr
ab445871d6 update section for type system constants (#1329)
* update section for type system constants

* Update src/constants.md
2022-03-22 14:34:21 +01:00
skippy10110
af97ff48c7 update winget install instructions to ensure proper packages are installed (-e for --exact, and full package names to ensure arbitrary packages from the msstore source aren't installed)
fixes #1324
2022-03-14 08:40:37 -07:00
Guillaume Gomez
1916c191c3 Add missing rustdoc tests explanations 2022-03-09 12:45:59 -08:00
Chayim Refael Friedman
7a93737e8a Fix incorrectly escaped backtick 2022-03-02 12:18:48 -08:00
James Cole
db07376c68 Add architecture suggestion for Apple silicon (#1320) 2022-03-01 10:45:24 -06:00
Eric Huss
211231eacf cargo timings has been stabilized (#1319)
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
2022-02-27 22:26:00 -06:00
Eric Huss
02096e23e3 Add known-bug header. (#1311) 2022-02-24 22:40:58 -06:00
Téo Bouvard
e16df874b0 Fix typo (#1315) 2022-02-24 11:27:21 -08:00
Samuel Moelius
d794d74251 Typo (#1313) 2022-02-22 18:22:28 -06:00
Eric Huss
bf76c05b7f instrument-coverage has been stabilized. 2022-02-20 13:59:23 -08:00
Eric Huss
0f1de50c2e symbol-mangling-version has been stabilized 2022-02-20 13:59:23 -08:00
pierwill
e0b7531888 Fix Ty link (#1308) 2022-02-20 12:14:58 -08:00
pierwill
acf7323f9e Edit glossary (#1302)
Add back-ticks to a few terms that appear in code.

Clarify that `tcx` is a standard.
2022-02-17 14:09:04 -08:00
Noah Lev
ae8ef405dd Fix heading levels in the query chapter (#1305)
This should fix the incorrect TOC rendering in #1303.
2022-02-17 13:48:36 -08:00
pierwill
e35e01062d Fix link 2022-02-17 13:30:24 -08:00
pierwill
2d33dbd197 Edit "Queries" chapter (#1301)
Makes various edits for clarity, style, readability, and formatting.

Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-02-17 15:12:43 -06:00
pierwill
30386f52c1 Link to The Rust Performance Book (#1300) 2022-02-17 17:46:20 -03:00
Raoul Strackx
056e4e70e3 Correction, building stage3 compiler (#1298) 2022-02-11 08:42:50 -05:00
Yuki Okushi
4fed2149d6 Triage some date references (#1293) 2022-02-10 17:34:23 -03:00
Manish Goregaokar
2cf5bba9e3 mention test folders for cfg(bootstrap) (#1294) 2022-02-05 15:03:17 +09:00
Felix S. Klock II
7eb0df9b15 git.md: Expanded a note to try to stress what you need to do if you're playing
games with submodules.

(I overlooked this when cherry-picking an LLVM commit today, and wasted some
time wondering why I wasn't seeing any effect in my resulting `rustc` build...)
2022-01-26 14:01:40 -08:00
Ivor Wanders
6f308aee13 Clarify that r? works in comments. 2022-01-20 18:01:07 -08:00
Eric Huss
d150d90169 Reorganize and expand the testing chapters. (#1281)
* Reorganize and expand the testing chapters.

* Update tests chapters for review comments.

* Fix typo.
2022-01-18 14:44:26 -03:00
Amanieu d'Antras
e292a4eefb Add inline assembly internals (#1266) 2022-01-18 11:12:06 -03:00
Georgiy Komarov
5ace24071f Spelling: Rename rust to Rust (#1288) 2022-01-18 11:09:37 -03:00
Noah Lev
b8cea7bfbf Clean up section about FCPs (#1287)
* I've never heard the term "pFCP" used before, so spell it out as
  "proposed final comment period"

* Fix some unclear things (like implying that you need `r+` rights to
  start an FCP)

* Improve the chapter's title, and make it consistent with its TOC entry

* Make some other assorted minor cleanups and improvements
2022-01-18 11:09:16 -03:00
Nicholas Nethercote
6312d533f7 Address more review comments in #1286. 2022-01-05 23:26:43 -06:00
Nicholas Nethercote
7e1fed579d Address review comments in #1286. 2022-01-05 23:26:43 -06:00
Nicholas Nethercote
2413da5b47 Streamline "Getting Started" some more.
This is a follow-up to #1279.

The "Getting Started" chapter is, TBH, pretty bad when it comes to the
stuff about building and testing. It has far too much detail and lots of
repetition, which would be overwhelming to a newcomer.

This commit removes most of it, leaving behind just quick mentions of
the most common `x.py` commands: `check`, `build`, `test`, `fmt`, with
links to the appropriate chapters for details. There were a few
interesting details that weren't covered elsewhere, so I moved those
into other chapters.
2022-01-05 23:26:43 -06:00
Noah Lev
5f6047b879 Update link to moved section (#1282)
The section was removed in #1030 and re-added in a different place in
2d42cf7.
2021-12-28 22:17:49 -06:00
Ben Reeves
25d51ec375 Fix link in contributing.md (#1280) 2021-12-27 10:28:15 -06:00
Nicholas Nethercote
5e01fd4f2e Streamline "Getting Started" (#1279)
* Move `x.py` intro section before first use, and shorten it.

* Improve `x.py setup` docs.

In "Getting Started", strip it back to the bare minimum. Some of this is
moved into the later section.

In the later section, add notable details like config.toml.example how
and `profile` works. Also make the config.toml example more concise.

* Move details about the repository.

Less detail in "Getting Started", more in the later sections.

* Move details about the prereqs.

Less detail in "Getting Started", more in the later sections.
2021-12-24 12:52:31 -03:00
Wang Qilin
404a87fdaa remove rustfix item in test intro (#1277) 2021-12-20 21:53:57 +09:00