Commit Graph

1746 Commits

Author SHA1 Message Date
Tshepang Mbambo 12a613eddb
make clear that other versions can work (#1373) 2022-06-21 13:26:19 +09:00
Omer Tuchfeld bda3e0b23c
Fix small `src/diagnostics.md` typo (#1370) 2022-06-18 19:42:08 +09:00
Edwin cddd59fff8
Add an "is" and rearange "We next" to "Next, we" (#1369) 2022-06-18 12:31:49 +09:00
David Wood c4d5a69945 diagnostics: add translation documentation
- Add documentation on translation infrastructure and use of
  `SessionSubdiagnostic`.
- Update diagnostic examples on other pages to be translatable since
  this is preferred.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-06-13 10:14:40 +02:00
David Wood 56ec010080 diagnostics: line wrapping/heading changes
Minor stylistic changes to some of the diagnostic documentation: adding
line wrapping to the Markdown source and changing the capitalization of
the headings to be consistent with other pages.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-06-13 10:14:40 +02:00
Edwin Rybarczyk ee64179f12 later -> latter 2022-06-13 00:17:41 +02:00
Eric Huss 375a9f06e3
Remove mention of -Zborrowck=mir with Polonius. (#1367) 2022-06-08 19:30:43 -03:00
Eric Huss e83cd73692
Remove nll compare mode. (#1366) 2022-06-08 14:21:15 -03:00
lcnr bc81f9918c
add section on user types (#1359)
* add section on user types

* line length

* review

* Update src/borrow_check/type_check.md

Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-06-08 14:21:01 -03:00
Jonas Schievink 6e4d6435db
Make build scripts and proc macros work with the suggested rust-analyzer config (#1365) 2022-06-08 08:06:32 +09:00
Tshepang Mbambo 438364838a
improve rustc_interface examples a little (#1362) 2022-06-07 08:42:07 +09:00
dependabot[bot] 72a3895d61
Bump regex from 1.4.3 to 1.5.5 in /ci/date-check (#1364)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 08:40:42 +09:00
Andrew Dona-Couch -- GitHub drop ICE 4d43651c90
Clarify cargo fallback behavior for rustup link (#1273) 2022-06-07 08:37:50 +09:00
Yuki Okushi a206009f26 Update rustc-driver related examples 2022-05-30 13:57:16 +02:00
Yuki Okushi 669262932a Triage some date references related to traits 2022-05-27 21:40:59 -07:00
Yuki Okushi 554c00e480 Cleanup rustdoc-internals 2022-05-24 17:15:35 -07:00
Yuki Okushi 5e268730e0 Fix some wording on the "Incremental Compilation In Detail" page 2022-05-24 16:03:20 -07:00
Yuki Okushi 2ba653e32e
Exclude `tomlee.co` from link-checking (#1356)
https://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/ returns 404 on CI even though it's not actually 404.
So, that doesn't return any useful result, let's ignore it.
Also, formatted the exclude list for readability.
2022-05-24 16:01:26 -07:00
Eric Huss 0cd9842821
Add note about patching dependencies and warnings. (#1354) 2022-05-21 12:53:51 +09:00
Tshepang Lekhonkhobe 12a2e08f72
make sentence more simple (#1353) 2022-05-20 21:37:01 +09:00
Yuki Okushi 0b2c9db969
Update some links and docs (#1340) 2022-05-17 07:54:45 +09:00
Yuki Okushi b389adccc1
Replace a broken YouTube link (#1295) 2022-05-16 11:36:40 -03:00
pierwill 06445e66c4
Edit the "Compiler Source Code" chapter (#1307)
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
Co-authored-by: pierwill <pierwill@users.noreply.github.com>
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-05-16 21:02:11 +09:00
Eric Huss b24d550239
Add docs for logging of queries. (#1350) 2022-05-12 13:56:26 +09:00
Waffle Maybe 77f7fa259f
Fix configuration names for vscode/r-a (#1352) 2022-05-12 13:56:14 +09:00
Jacob Pratt 687f6036ca
Update docs for deprecated attribute (#1338) 2022-05-12 13:53:26 +09:00
Soroush Zare 0c02acdb6f
Update overview.md (#1351)
Fix minor typo
2022-05-10 09:45:31 -03:00
Yuki Okushi 425fa202c8
Update date references on parallel-rustc (#1348) 2022-05-09 08:47:50 -05:00
lcnr e4ce969bea
mention `WithOptConstParam` (#1346) 2022-05-09 09:19:43 +09:00
Yutaro Ohno a9d0e35c84
Fix format (#1349) 2022-05-09 09:17:51 +09:00
Ali MJ Al-Nasrawy 2de8cb5dab
correct type of SubstsRef (#1347) 2022-05-07 09:58:20 +09:00
Who? Me?! acb1fcb780
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 9ec019011f
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 e827b0aaa1 Update some date refs 2022-04-20 13:09:19 -07:00
printfn 043e60f4f1
Fix a small typo (#1343) 2022-04-20 18:57:49 +09:00
Felix S Klock II a8add664d4
Extend debugging llvm section (#1290) 2022-04-14 20:17:36 +09:00
scottmcm c190ae37e1
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 aa31b10161
Fix typo serious->series (#1336) 2022-04-14 19:46:54 +09:00
Eric Holk e58b4c04cb
Minor type fix (#1337) 2022-04-14 19:44:36 +09:00
David Wood d9bfa3788c
sessiondiagnostic: translation (#1333) 2022-04-14 14:57:32 +09:00
Matthew Woodcraft eeb5a83c15
method-lookup.md improvements (#1296) 2022-04-11 23:29:48 +09:00
Ivor Wanders 885d329928
Consolidate crates.io convention section (#1326) 2022-04-11 22:51:22 +09:00
Ujjawal fbda644df8
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 664d3c70c0
r-a: Use `python3 x.py` instead of `./x.py` (#1335) 2022-04-09 17:31:23 +09:00
Hongbo f5f6b4f2be
Update miri.md: correct a minor typo (#1334) 2022-04-06 07:47:46 +09:00
xFrednet 127abaa937 Add example how lints can be feature gated 2022-04-04 13:16:08 -07:00
lcnr 155126b1d2
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 0e4b961a9c 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 4b8d939889 Add missing rustdoc tests explanations 2022-03-09 12:45:59 -08:00
Chayim Refael Friedman eb90c9c25a Fix incorrectly escaped backtick 2022-03-02 12:18:48 -08:00