File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
src/doc/rustc-dev-guide/src
borrow-check/region-inference Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11# Updating LLVM
22
3- <!-- date-check: Aug 2024 -->
43Rust supports building against multiple LLVM versions:
54
65* Tip-of-tree for the current LLVM development branch is usually supported within a few days.
@@ -91,7 +90,6 @@ An example PR: [#59089](https://github.com/rust-lang/rust/pull/59089)
9190
9291## New LLVM Release Updates
9392
94- <!-- date-check: Jul 2023 -->
9593
9694Unlike bugfixes,
9795updating to a new release of LLVM typically requires a lot more work.
@@ -172,12 +170,14 @@ so let's go through each in detail.
172170 You'll change at least
173171 ` src/llvm-project ` and will likely also change [ ` llvm-wrapper ` ] as well.
174172
175- <!-- date-check: mar 2025 -->
173+ <!-- date-check: March 2026 -->
176174 > For prior art, here are some previous LLVM updates:
177175 > - [ LLVM 17] ( https://github.com/rust-lang/rust/pull/115959 )
178176 > - [ LLVM 18] ( https://github.com/rust-lang/rust/pull/120055 )
179177 > - [ LLVM 19] ( https://github.com/rust-lang/rust/pull/127513 )
180178 > - [ LLVM 20] ( https://github.com/rust-lang/rust/pull/135763 )
179+ > - [ LLVM 21] ( https://github.com/rust-lang/rust/pull/143684 )
180+ > - [ LLVM 22] ( https://github.com/rust-lang/rust/pull/150722 )
181181
182182 Note that sometimes it's easiest to land [ ` llvm-wrapper ` ] compatibility as a PR
183183 before actually updating ` src/llvm-project ` .
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ member constraints come in.
9292## Choices are always lifetime parameters
9393
9494At present, the "choice" regions from a member constraint are always lifetime
95- parameters from the current function. As of <!-- date-check --> October 2021 ,
95+ parameters from the current function. As of <!-- date-check --> March 2026 ,
9696this falls out from the placement of impl Trait, though in the future it may not
9797be the case. We take some advantage of this fact, as it simplifies the current
9898code. In particular, we don't have to consider a case like `'0 member of [ '1,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Note that not all _historical_ (no longer emitted) error codes have explanations
1010The explanations are written in Markdown (see the [ CommonMark Spec] for
1111specifics around syntax), and all of them are linked in the [ ` rustc_error_codes ` ] crate.
1212Please read [ RFC 1567] for details on how to format and write long error codes.
13- As of <!-- date-check --> February 2023 , there is an
13+ As of <!-- date-check --> March 2026 , there is an
1414effort[ ^ new-explanations ] to replace this largely outdated RFC with a new more flexible standard.
1515
1616Error explanations should expand on the error message and provide details about
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ which boils down to a static with type [`&rustc_lint_defs::Lint`]
2121as the macro is somewhat unwieldy to add new fields to,
2222like all macros).
2323
24- As of <!-- date-check --> Aug 2022,
2524we lint against direct declarations without the use of the macro.
2625
2726Lint declarations don't carry any "state" - they are merely global identifiers
You can’t perform that action at this time.
0 commit comments