Repository navigation
Draft release notes for 1.94.0 #151650
Copy link
Copy link
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.
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.94.0 (2026-03-05)
Language
- Impls and impl items inherit
dead_codelint level of the corresponding traits and trait items
📝 - Stabilize additional 29 RISC-V target features including large portions of the RVA22U64 / RVA23U64 profiles
📝 - Add warn-by-default lint for visibility on
const _declarations
📝 - Update to Unicode 17
📝 - Avoid incorrect lifetime errors for closures
📝
Compiler
Platform Support
Refer to Rust's platform support page
for more information on Rust's tiered platform support.
Libraries
- Relax
T: Ordbound for someBinaryHeap<T>methods.
📝
Stabilized APIs
[T]::array_windows
📝LazyCell::getLazyCell::get_mutLazyCell::force_mutLazyLock::getLazyLock::get_mutLazyLock::force_mut
📝impl TryFrom<char> for usize
📝std::iter::Peekable::next_if_mapstd::iter::Peekable::next_if_map_mut
📝- x86
avx512fp16intrinsics
This excludes those that depend directly on the unstablef16type. - AArch64 NEON fp16 intrinsics
This excludes those that depend directly on the unstablef16type.
📝 <[T]>::element_offset
📝f32::consts::EULER_GAMMAf64::consts::EULER_GAMMAf32::consts::GOLDEN_RATIOf64::consts::GOLDEN_RATIO
📝
These previously stable APIs are now stable in const contexts:
Cargo
- feat: stabilize
-Zconfig-include - fix(package): Don't verify registry for --list
- feat(index): Stabilize pubtime
- feat(toml): TOML 1.1 parse support
- fix(timing)!: remove
--timings=<FMT>optional format values - feat(test): Make CARGO_BIN_EXE_ available at runtime
Compatibility Notes
- Forbid freely casting lifetime bounds of
dyn-types
📝 - Make closure capturing have consistent and correct behaviour around patterns
Some finer details of how precise closure captures get affected by pattern matching have been changed. In some cases, this can cause a non-move closure that was previously capturing an entire variable by move, to now capture only part of that variable by move, and other parts by borrow. This can cause the borrow checker to complain where it previously didn't.
📝 - core and std macros are now imported via prelude, not via injected
#[macro_use]
This may raise a new warning (ambiguous_panic_imports) on#![no_std]code glob importing the std crate.
Bothcore::panic!andstd::panic!are then in scope and which is used is ambiguous.
📝 - Don't strip
include!(…)shebang in expression context
This can cause previously working includes to no longer compile if they included files which started with a shebang.
📝 - Ambiguous glob reexports are now also visible cross-crate
This unifies behavior between local and cross-crate errors on these exports, which may introduce new ambiguity errors.
📝 - don't normalize where-clauses before checking well-formedness
📝 - Introduce a future compatibility warning on codegen attributes on body-free trait methods
These attributes have no effect in this position today.
📝 - On Windows
std::time::SystemTime::checked_sub_durationwill returnNonefor times before the Windows epoch (1/1/1601)
📝 - Lifetime identifiers such as
'aare now NFC normalized.
📝 - Overhaul filename handling for cross-compiler consistency
Any paths emitted by compiler now always respect the relative-ness of the paths and--remap-path-prefixgiven originally.
One side-effect of this change is that paths emitted for local crates in Cargo (path dependencies and workspace members) are no longer absolute but relative when emitted as part of a diagnostic in a downstream crate.
📝
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.
- Switch to
annotate-snippetsfor error emission
This should preserve mostly the same outputs in rustc error messages.
📝
Reactions are currently unavailable
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.
Activity
Mark-Simulacrum commentedon Jan 25, 2026
@rustbot ping relnotes-interest-group
rustbot commentedon Jan 25, 2026
Hi relnotes-interest-group, this issue/PR could use some help in reviewing /
adjusting release notes. Could you take a look if available? Thanks <3
cc @alex-semenyuk @jieyouxu @joshtriplett @Kobzol @lcnr @traviscross
usamoi commentedon Jan 26, 2026
avx512fp16intrinsics and neonfp16intrinsics are partially stabilized but they seem to be missing here, and their version placeholders are not replaced in beta branch.Mark-Simulacrum commentedon Jan 26, 2026
Can you link PRs/tracking issues? Not sure why the placeholders wouldn't be replaced (maybe they're in a submodule?)...
usamoi commentedon Jan 27, 2026
avx512fp16: rust-lang/stdarch#1905neon_fp16: rust-lang/stdarch#1922stdarch subtree update: #150639
Voultapher commentedon Feb 19, 2026
@Mark-Simulacrum could you please adopt #150437 (comment) since the wording is misleading in its current form.
theemathas commentedon Feb 19, 2026
Mark-Simulacrum commentedon Feb 28, 2026
Closing in favor of #153221.
Rollup merge of rust-lang#153221 - Mark-Simulacrum:relnotes, r=cuviper
Rollup merge of rust-lang#153221 - Mark-Simulacrum:relnotes, r=cuviper
Rollup merge of rust-lang#153221 - Mark-Simulacrum:relnotes, r=cuviper
Unrolled build for #153221