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.95 (2026-04-16)
Language
Compiler
Platform Support
Refer to Rust's platform support page
for more information on Rust's tiered platform support.
Libraries
Stabilized APIs
These previously stable APIs are now stable in const contexts:
Cargo
Rustdoc
Compatibility Notes
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
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.95 (2026-04-16)
Language
if letguards on match arms)馃摑
irrefutable_let_patternslint no longer lints on let chains馃摑
馃摑
馃摑
馃摑
馃摑
馃摑
Compiler
--remap-path-scopefor controling the scoping of how paths get remapped in the resulting binary馃摑
Platform Support
powerpc64-unknown-linux-muslto tier 2 with host tools馃摑
aarch64-apple-tvosto Tier 2aarch64-apple-tvos-simto Tier 2aarch64-apple-watchosto Tier 2aarch64-apple-watchos-simto Tier 2aarch64-apple-visionosto Tier 2aarch64-apple-visionos-simto Tier 2馃摑
Refer to Rust's platform support page
for more information on Rust's tiered platform support.
Libraries
馃摑
RangeInclusiveandRangeInclusiveItertypes馃摑
str::containson aarch64 targets withneontarget feature enabled by default馃摑
Stabilized APIs
assert_matches!debug_assert_matches!馃摑
MaybeUninit<[T; N]>: From<[MaybeUninit<T>; N]>MaybeUninit<[T; N]>: AsRef<[MaybeUninit<T>; N]>MaybeUninit<[T; N]>: AsRef<[MaybeUninit<T>]>MaybeUninit<[T; N]>: AsMut<[MaybeUninit<T>; N]>MaybeUninit<[T; N]>: AsMut<[MaybeUninit<T>]>[MaybeUninit<T>; N]: From<MaybeUninit<[T; N]>>Cell<[T; N]>: AsRef<[Cell<T>; N]>Cell<[T; N]>: AsRef<[Cell<T>]>Cell<[T]>: AsRef<[Cell<T>]>馃摑
bool: TryFrom<{integer}馃摑
AtomicPtr::updateAtomicPtr::try_updateAtomicBool::updateAtomicBool::try_updateAtomicIn::updateAtomicIn::try_updateAtomicUn::updateAtomicUn::try_update馃摑
cfg_select!馃摑
core::hint::cold_path馃摑
<*const T>::as_ref_unchecked<*mut T>::as_ref_unchecked<*mut T>::as_mut_unchecked馃摑
These previously stable APIs are now stable in const contexts:
fmt::from_fn馃摑
ControlFlow::is_breakControlFlow::is_continue馃摑
Cargo
cargo report *Rustdoc
馃摑
馃摑
Compatibility Notes
馃摑
馃摑
馃摑
馃摑
馃摑
Eq::assert_receiver_is_total_eqand emit future compatibility warnings on manual impls馃摑
馃摑
mut refandmut ref mutpatterns, part of the unstable Match Ergonomics 2024 RFC, were accidentally allowed on stable within struct pattern field shorthand. These patterns are now correctly feature-gated as unstable in this position.馃摑
馃摑
-Z unstable-optionsto use. Previously, these could not be used without the standard library, which has no stable build mechanism. In preparation for thebuild-stdproject adding that support, JSON target specs are being proactively gated to ensure they remain unstable even ifbuild-stdis stabilized. Cargo now includes the-Z json-target-specCLI flag to automatically pass-Z unstable-optionsto the compiler when needed. See #150151, #151534, and rust-lang/cargo#16557.馃摑
#[feature]attributes on invalid targets are now checked馃摑
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