Lukas Markeffsky
db57a5f454
intern valtrees
2025-02-13 00:38:17 +01:00
Max Heller
08b4cd8efc
Use `id` attribute for `<a>` tags instead of deprecated `name` attribute ( #2184 )
2024-12-31 22:02:50 +08:00
Keith Wansbrough
8d9b40183e
Fix trivial typo
...
"And" should be "An" - one instance.
2024-11-27 18:31:18 -05:00
Camille Gillot
0962f0e058
Remove -Zfuel. ( #2032 )
2024-11-27 18:31:58 +08:00
Nicholas Nethercote
2d1a0479a6
Update for recent dataflow simplifications. ( #2121 )
2024-11-04 15:57:00 +08:00
Martin Liška
cbd5436e1d
Fix rustc-related links that are 404 right now ( #2112 )
2024-11-02 20:53:31 +08:00
Noah Lev
f09dd295ae
Use 2021 edition for example code playground link
...
The playground defaults to 2015. Might as well use the latest edition.
2024-09-24 20:15:12 +02:00
Noah Lev
25ad416da4
Move example code block to paragraph referencing it
...
Noticed by Mario Carneiro.
2024-09-24 20:15:12 +02:00
Santiago Pastorino
d6c5ed5c47
Fix conditions lowering text for enums with no fields ( #2066 )
2024-09-18 08:45:24 +08:00
Veera
3d59d4f511
Fix Typo and Remove Outdated Line About C Variadics
...
This PR does two minor fixes:
1. Removes the line "c-variadic functions are declared with at least
one named argument" since it is no longer true since 124048 got
merged.
2. Fixes typo: "lingint" -> "linting".
2024-09-10 09:32:10 +02:00
Prashanth Mundkur
33c8ae55b7
Fix a link and create an implied internal link ( #2051 )
2024-09-09 00:15:41 +08:00
flash
be6899e3fd
fix typo ( #2043 )
...
line 320:
original: "valtree back a to MIR constant"
updated: "valtree back to a MIR constant"
2024-08-20 02:08:49 +08:00
xFrednet
bacd3c57b1
Review comments <3
2024-08-07 20:32:37 -07:00
xFrednet
91f2d11e9c
Correct rust code block in *Dataflow Analysis*
2024-08-07 20:32:37 -07:00
Martin Liška
9a13c75f11
linkcheck: fix reported broken links (part 2) ( #2024 )
...
* linkcheck: fix reported broken links (part 2)
* Apply suggestions from code review
Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
* Fix mir::Constant link target
* Fix borked links
* Fix one more link name
* Exclude 2 links from checking
* Fix exclude patterns in book.toml
* Fix comment
* Fix rmake-tests URL
* Apply suggestions from code review
Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
---------
Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
2024-07-27 14:45:57 +02:00
Martin Liška
fb1d8b872c
linkcheck: fix reported broken links (part 1) ( #2022 )
2024-07-24 20:01:25 +08:00
Martin Liska
4ee24c9286
MIR docs: fix borked links and update style
...
Changes applied:
- updating-llvm.md: make consistent style in a listing
- CleanupNonCodegenStatements - renamed to CleanupPostBorrowck
- SimplifyCfg - fix link target (it is an enum now)
- LocalUseVisitor - replaced with another existing Visitor
- PGO in LLVM - embed link
2024-07-24 05:03:16 +02:00
Jaic1
03dfd90ce5
refine mir passes doc
2024-07-15 17:16:43 +02:00
Jaic1
bd44a1714a
Typo in src/mir/passes.md
...
accidently -> accidentally
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-07-15 17:16:43 +02:00
chj
2f8dd37f16
Improve doc of MIR queries & passes
2024-07-15 17:16:43 +02:00
Yuki Okushi
7ec01f19d1
Fix some links ( #1865 )
2024-01-28 19:44:41 -03:00
Zalathar
7650a97c11
Remove outdated references to `-Z dump-mir-spanview`
...
This flag was removed by <https://github.com/rust-lang/rust/pull/119566 >.
2024-01-16 10:28:45 +02:00
Ralf Jung
70eefbd73e
explain the MIR const vs TY const situation
2023-09-18 03:57:13 +02:00
Tshepang Mbambo
e4c3e370b1
grammar
2023-09-08 12:59:13 +02:00
Tshepang Mbambo
c8113266c7
typo
2023-09-08 12:59:13 +02:00
Prashant-Shekhar-Rao
a5e35dd106
Updated index.md to add a command which can show unoptimized MIR
...
The current playground link used in the page of MIR shows a optimized version of MIR which is missing some statements such as StorageLive . Updated to use a local command which shows unoptimized MIR that would be more useful for pedagogical purposes.
2023-09-08 12:59:13 +02:00
İsmail Arılık
9e0902f9d6
fix(visitor.md): fix a type name in a code sample
...
From the context, it is understood that this type is `MyVisitor`, not `NoLandingPads`.
2023-08-01 09:55:47 +02:00
sslime336
a04ad82e3c
Change `./x.py` into `./x`
2023-06-30 23:11:14 +02:00
Eric Huss
1b6f93987d
Fix some links
2023-06-29 06:43:19 +02:00
Ben Kimock
6917c2ee91
Rename InstCombine to InstSimplify ( #1684 )
2023-05-11 18:59:47 +09:00
Yuki Okushi
70e8b3e396
Reflect the changes in rust-lang/rust#67000 ( #1632 )
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-03-06 14:22:07 -03:00
Mika
53e87016e1
Fixed typing errors ( #1622 )
2023-02-27 07:30:52 +09:00
Yuki Okushi
f13eeec25a
Address the change in https://github.com/rust-lang/rust/pull/107256
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-03 06:23:25 +02:00
Albert Larsan
d4ec98736e
Change `src/test` to `tests` ( #1547 )
2023-01-13 07:31:47 +09:00
Tshepang Mbambo
11c34c7a47
typo
2022-12-14 05:34:09 +02:00
Mohammad Omidvar
6303e165ff
Replace NoLandingPad with another alive Visitor
...
The broken reference to the non-existing `NoLandingPad` is replaced by `LocalUseCounter` to fix this document.
2022-12-14 05:34:09 +02:00
Mohammad Omidvar
cfb4531dde
Remove todo note
2022-12-14 05:34:09 +02:00
Mohammad Omidvar
fe6890245d
Replace NoLandingPad with another alive MIR pass
...
The broken reference to `NoLandingPad` is replaced by `RemoveStorageMarkers` to fix this document.
2022-12-14 05:34:09 +02:00
jonathanCogan
100e801b36
Fixes some typos ( #1502 )
...
* Fix some typos.
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
2022-11-02 13:11:03 -05:00
Yuki Okushi
769f69ca59
Prefer relative links
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Tshepang Mbambo
061577567f
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
5225225
1fedc2ea70
Rename debugging_opts to unstable_opts, use link
2022-07-16 12:56:25 +02:00
Tshepang Lekhonkhobe
8b5f9d119a
make sentence more simple ( #1353 )
2022-05-20 21:37:01 +09:00
Yuki Okushi
0312fa6b20
Replace a broken YouTube link ( #1295 )
2022-05-16 11:36:40 -03:00
Samuel Moelius
34f726b933
Typo ( #1313 )
2022-02-22 18:22:28 -06:00
Noah Lev
7c8d7c57a4
Fix some broken links
2021-12-09 09:11:48 -06:00
Dylan MacKenzie
6643adf704
Describe drop elaboration ( #1240 )
2021-11-18 13:31:13 -05:00
Lucas Kent
363f6ce09c
Spelling fixes
2021-11-15 08:23:01 -06:00
Janggun Lee
d03c7b8626
Fix `rustc_mir` related links ( #1228 )
...
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
Co-authored-by: nhamovitz <18648574+nhamovitz@users.noreply.github.com>
2021-10-29 00:58:26 +09:00
Smitty
e0055323fd
Mention unpretty=mir-cfg for debugging MIR
2021-04-23 16:25:11 -04:00