-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Closed
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.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).
See #149652 for final changes.
Version 1.92.0 (2025-12-11)
Language
- Document
MaybeUninitrepresentation 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 materialize
Xin[X; 0]whenXis unsizing a const
📝 - Support combining
#[track_caller]and#[no_mangle](requires every declaration specifying#[track_caller]as well)
📝 - Make never type lints
never_type_fallback_flowing_into_unsafeanddependency_on_unit_never_type_fallbackdeny-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.
📝
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
📝 - Simplify
Extendfor tuples
📝 - Added details to
DebugforEncodeWide.
📝 iter::Repeat::lastandcountwill now panic, rather than looping infinitely.
📝
Stabilized APIs
Box::new_zeroedBox::new_zeroed_sliceRc::new_zeroedRc::new_zeroed_sliceArc::new_zeroedArc::new_zeroed_slice
📝
impl Extend<proc_macro::Group> for proc_macro::TokenStreamimpl Extend<proc_macro::Literal> for proc_macro::TokenStreamimpl Extend<proc_macro::Punct> for proc_macro::TokenStreamimpl Extend<proc_macro::Ident> for proc_macro::TokenStream
📝
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.
📝
- As part of the larger effort refactoring compiler built-in attributes and their diagnostics, The future-compatibility lint
invalid_macro_export_argumentsis upgraded to deny-by-default and will be reported in dependencies too.
📝 - Update the minimum external LLVM to 20
📝 - Prevent downstream
impl DerefMut for Pin<LocalType>
📝 - Don't apply temporary lifetime extension rules to the arguments of non-extended
pin!and formatting macros
📝
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.relnotes-tracking-issueMarks issues tracking what text to put in release notes.Marks issues tracking what text to put in release notes.