ridwanabdillahi
c7637def78
Add documentation about Microsoft provided debuggers and CodeView/PDB… ( #1406 )
...
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
Co-authored-by: Ridwan Abdilahi <riabdila@microsoft.com>
2022-07-26 07:33:58 +09:00
Amos Wenger
bcc1166bf6
rust-analyzer is now a subtree
...
It used to be a submodule.
cf. https://github.com/rust-lang/rust/pull/99603
2022-07-25 11:40:28 +02:00
Luqman Aden
d5201cddac
Debuginfo tests now also support revisions.
2022-07-21 04:48:49 +02:00
Amos Wenger
bac43d0fdb
Link to rendered book directly
...
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-07-19 15:58:55 +02:00
Amos Wenger
5c8febd8cb
Fix link to clippy sync docs
2022-07-19 15:58:55 +02:00
Tshepang Mbambo
2b87b31676
remove stray markup
2022-07-19 09:56:55 +02:00
Tshepang Mbambo
6e1ac9dd04
renamed
2022-07-19 09:56:55 +02:00
Tshepang Mbambo
0c2f5c9b77
sync with hackmd version
...
See https://hackmd.io/5t8pLdJcRDmqbfN9ZXje3g
2022-07-19 09:56:55 +02:00
Tshepang Mbambo
2802da7b37
replace misleading name ( #1401 )
2022-07-19 15:56:24 +09:00
Yuki Okushi
dca7b1b9c1
Remove a mention to Steve on r? example
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-18 07:31:14 +02:00
Tshepang Mbambo
168442374d
obey line length limit (part 3)
2022-07-17 23:34:12 +02:00
Tshepang Mbambo
1b62c12bbe
obey line length limit (part 2)
2022-07-17 23:34:12 +02:00
Tshepang Mbambo
5cc90f3ab1
obey line length limit
2022-07-17 23:34:12 +02:00
HackMD
857ee492fc
sync with hackmd
2022-07-17 23:34:12 +02:00
Niko Matsakis
53395b0e3d
add draft chapter
2022-07-17 23:34:12 +02:00
Niko Matsakis
e764363e7f
add mdbook-mermaid
2022-07-17 23:34:12 +02:00
Tshepang Mbambo
ade9352771
use relative links
...
Used the following command, followed by some manual tweaking:
sd 'https://rustc-dev-guide.rust-lang.org/(.+).html ' '$1.md' (fd)
2022-07-17 02:32:44 +02:00
Tshepang Mbambo
56eb8b69b5
fix some typos ( #1398 )
2022-07-17 06:45:36 +09:00
davidrusu
8bbee4f5a3
typo: monomorph docs
2022-07-16 16:44:10 +02:00
5225225
2e754ba3d7
Rename debugging_opts to unstable_opts, use link
2022-07-16 12:56:25 +02:00
Tshepang Mbambo
0eb86d9bfe
address review comment
...
https://github.com/rust-lang/rustc-dev-guide/pull/1392#discussion_r921560851
2022-07-15 13:24:50 +02:00
Tshepang Mbambo
7a99011947
update date reference on MIR inliner
...
cc #1379
2022-07-15 13:24:50 +02:00
Tshepang Mbambo
47e04448c7
remove outdated info on debugging
...
Closes #1391
Also, do some small fixes/improvements while at it.
2022-07-15 13:24:07 +02:00
Tshepang Mbambo
4a96ed5165
small fixes to ty chapter ( #1390 )
2022-07-15 15:47:42 +09:00
Joshua Nelson
f92263e45b
Update the build instructions for the standard library
...
Since https://github.com/rust-lang/rust/pull/95503 , `library/std` means
"build just std and its dependencies"; to get the old behavior that built
`proc_macro` and `test`, you need `x build library`.
- Update `library/std` to `library`
- Remove the `-i` suggestions; `incremental = true` is already the default for most profiles, in
which case `-i` does nothing. If you don't have incremental enabled, I still think suggesting `-i`
is bad idea, because it's easy to forget once, at which point you'll end up rebuilding the whole
compiler / standard library.
- Remove a few repetitive sections and don't discuss incremental in such detail
Incremental works well enough that it should "just work" for most people;
I don't think it needs multiple paragraphs of explanation so early in the guide.
- Clarify that `test library/std` *only* tests libstd in a few places
2022-07-11 07:22:24 +02:00
Martin Nordholts
8accea6a9d
overview.md: Link to existing Macro Expansion and Name Resolution docs ( #1388 )
2022-07-08 12:55:38 -05:00
Yuki Okushi
0855fc90d2
Git-ignore `pulls.json` ( #1386 )
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-07 16:41:11 -03:00
Santiago Pastorino
f1d10fbf4a
Revert "Add the config needed to get rust-analyzer working on src/bootstrap ( #1381 )"
...
This reverts commit d955bab63c .
2022-07-07 07:10:35 +02:00
Joshua Nelson
07efe00394
Use `x.py check` instead of `cargo check` for build scripts ( #1384 )
...
Cargo check isn't supported and gives an error that CFG_CHANNEL is missing.
It also generates a new target dir and recompiles dependencies.
Use x.py instead, which avoids both issues.
2022-07-06 18:36:22 -03:00
Joshua Nelson
eb83839e90
Suggest a separate build directory for rust-analyzer ( #1378 )
2022-07-03 15:17:39 +09:00
Yutaro Ohno
ef73d033d6
Change the old filename, "src/stage0.txt" to "src/stage0.json" ( #1383 )
2022-07-03 15:10:25 +09:00
Joshua Nelson
d955bab63c
Add the config needed to get rust-analyzer working on src/bootstrap ( #1381 )
2022-07-03 15:06:54 +09:00
Daniel Xu
a05e1fd401
Fix path to hir_id_validator.rs
...
It doesn't look like the old path ever existed.
2022-07-02 21:32:39 +02:00
Ralf Jung
f423a3ad95
leave formatOnSave to the user ( #1380 )
2022-07-02 00:35:13 +09:00
David Wood
11b40654fd
diagnostics: structs with new slug syntax ( #1377 )
...
Update the documentation for diagnostic structs to use the new typed
identifier syntax for referring to slugs.
Signed-off-by: David Wood <david.wood@huawei.com>
2022-06-28 13:17:15 -03:00
EdwinRy
03fafb5d85
Few readability fixes
2022-06-27 02:41:09 +02:00
Alcaro
4505f706b1
humorust: Forbid pineapple on pizza ( #1374 )
2022-06-26 21:02:21 +09:00
Tshepang Mbambo
048d925f0a
not obvious what Ex is, so rather get rid ( #1372 )
2022-06-21 22:25:34 +09:00
Tshepang Mbambo
a3d2f90481
small improves ( #1371 )
...
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-06-21 18:45:30 +09:00
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