File tree Expand file tree Collapse file tree
borrow-check/region-inference Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Updating LLVM
22
3- <!-- date-check: Aug 2024 -->
3+ <!-- date-check: March 2026 -->
44Rust supports building against multiple LLVM versions:
55
66* Tip-of-tree for the current LLVM development branch is usually supported within a few days.
@@ -91,7 +91,7 @@ An example PR: [#59089](https://github.com/rust-lang/rust/pull/59089)
9191
9292## New LLVM Release Updates
9393
94- <!-- date-check: Jul 2023 -->
94+ <!-- date-check: March 2026 -->
9595
9696Unlike bugfixes,
9797updating to a new release of LLVM typically requires a lot more work.
@@ -172,7 +172,7 @@ so let's go through each in detail.
172172 You'll change at least
173173 ` src/llvm-project ` and will likely also change [ ` llvm-wrapper ` ] as well.
174174
175- <!-- date-check: mar 2025 -->
175+ <!-- date-check: March 2026 -->
176176 > For prior art, here are some previous LLVM updates:
177177 > - [ LLVM 17] ( https://github.com/rust-lang/rust/pull/115959 )
178178 > - [ LLVM 18] ( https://github.com/rust-lang/rust/pull/120055 )
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,7 @@ 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 ,
24+ As of <!-- date-check --> March 2026 ,
2525we lint against direct declarations without the use of the macro.
2626
2727Lint declarations don't carry any "state" - they are merely global identifiers
You can’t perform that action at this time.
0 commit comments