-
Notifications
You must be signed in to change notification settings - Fork 14k
Open
Labels
T-releaseRelevant to the release subteam, which will review and decide on the PR/issue.Relevant to the release subteam, which will review and decide on the PR/issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.relnotes-tracking-issueMarks issues tracking what text to put in release notes.Marks issues tracking what text to put in release notes.
Milestone
Description
NOTE: Use the 📝 links to edit those that have a relnotes-tracking-issue,
and they will be updated when we regenerate the notes periodically (manually).
Version 1.92.0 (2025-12-11)
Language
- Document MaybeUninit representation and validity
📝 - Allow
&raw [mut | const]for union field in safe code
📝 - prefer item bounds of associated over where-bounds for auto-traits and
Sized
📝 - Do not materialise X in [X; 0] when X is unsizing a const
📝 - Support combining
#[track_caller]and#[no_mangle](requires every declaration specifying#[track_caller]as well)
📝 - Make never type lints deny-by-default
📝 - Allow specifying multiple bounds for same associated item, except in trait objects
📝 - Slightly strengthen higher-ranked region handling in coherence
📝 - The
unused_must_uselint no longer warns onResult<(), Uninhabited>(for instance,Result<(), !>), orControlFlow<Uninhabited, ()>. This avoids having to check for an error that can never happen. unused_must_use: Don't warn onResult<(), Uninhabited>orControlFlow<Uninhabited, ()>
📝
Compiler
- Make
mips64el-unknown-linux-muslabi64link dynamically
📝 - Remove current code for embedding command-line args in PDB
Command-line information is typically not needed by debugging tools, and the removed code
was causing problems for incremental builds even on targets that don't use PDB debuginfo.
📝
Platform Support
Refer to Rust's platform support page
for more information on Rust's tiered platform support.
Libraries
- Specialize
Iterator::eq{_by}forTrustedLeniterators
📝 - core: simplify
Extendfor tuples
📝 - Added details to
DebugforEncodeWide.
📝 - Stabilize
new_zeroed_alloc - implement Extend<{Group, Literal, Punct, Ident}> for TokenStream
iter::Repeat::lastandcountwill now panic, rather than looping infinitely.
📝
Stabilized APIs
NonZero<u{N}>::div_ceil
📝Location::file_as_c_str
📝RwLockWriteGuard::downgrade
📝btree_map::Entry::insert_entrybtree_map::VacantEntry::insert_entry
📝
These previously stable APIs are now stable in const contexts:
Cargo
Rustdoc
- If a trait item appears in rustdoc search, hide the corresponding impl items. Previously a search for "last" would show both
Iterator::lastas well as impl methods likestd::vec::IntoIter::last. Now these impl methods will be hidden, freeing up space for inherent methods likeBTreeSet::last.
📝 - Relax rules for identifiers in search. Previously you could only search for identifiers that were valid in rust code, now searches only need to be valid as part of an identifier. For example, you can now perform a search that starts with a digit.
📝
Compatibility Notes
- Fix backtraces with
-C panic=aborton Linux by generating unwind tables by default. Build with-C force-unwind-tables=noto keep omitting unwind tables.
📝
- Port #[macro_export] to the new attribute parsing infrastructure
📝 - Update the minimum external LLVM to 20
📝 - Prevent downstream
impl DerefMut for Pin<LocalType>
📝 - Don't apply temporary lifetime extension rules to non-extended
super let
📝
Internal Changes
These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.
Other
Metadata
Metadata
Assignees
Labels
T-releaseRelevant to the release subteam, which will review and decide on the PR/issue.Relevant to the release subteam, which will review and decide on the PR/issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.relnotes-tracking-issueMarks issues tracking what text to put in release notes.Marks issues tracking what text to put in release notes.