Draft release notes for 1.99.0
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
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.99.0 (2026-10-01)
Language
- Add allow-by-default
raw_borrows_via_referenceslint that checks for references that decay immediately into raw borrows
π - Extend
unconditional_paniclint to function calls that panics when the chunks/windows size is zero
π - Stabilize C-variadic function definitions
π - Trait method are now resolved on an adjusted never type (producing a FCW)
π - Coerce from inference variables to trait objects if a subtype or supertype of the inference variable is known to be
Sized
π - Stabilize
#[my_macro] mod foo;. This allows outlined modules (mod foo;) anywhere in the body of a custom attribute or derive macro.
π - Fix the
overflowing_literalslint with repeated negation. For instance, it will now now longer lint on--128_i8, which is already detected by thearithmetic_overflowlint.
π - Add POSIX symbols to the
invalid_runtime_symbol_definitionsandsuspicious_runtime_symbol_definitionslints
π - Lint unused
#[path]attributes on inline modules
π - Enable
unreachable_cfg_select_predicateslint as part ofunusedlint group
π - Stabilize passing 128-bit integers via vector registers with
asm!on x86
π - Macros that expand to a semicolon now produce a warning lint (
semicolon_in_expressions_from_non_local_macros) even when the macro comes from another crate. Previously, such warnings only appeared for macros from the same crate, to avoid showing warnings that can't be fixed locally; however, this masked problems, as integration tests from the crate providing the macro get compiled as a separate crate, so tests often wouldn't reveal this issue. If you encounter a lint like this, please make sure to report it to the crate providing the macro so they can fix it; don't just silence it in your own crate. - Explicitly document that some allocations are allowed to grow in-place (but none are allowed to shrink)
π - The contents of an
UnsafeCellcan now be accessed without going throughget - Stabilize the ability to use
#[unsafe(naked)]functions to define C-variadic functions (#![feature(c_variadic_naked_functions)]).
π - Warn if an invalid
docattribute is used on a macro invocation
π - Infer anonymous lifetimes in the types of associated consts as
'static
π
Compiler
- Convert
-Ctarget-cpuinto a target-modifier for AVR, AMDGCN and NVPTX
π - Enable
static_position_independent_executableson all gnu and musl targets
π - When providing a suggestion about a missing method, rustc now prefers an exactly matching name from a doc alias attribute over a similarity search from other method names. If your new users sometimes expect a method under a different name, adding a doc alias will now help them find it via rustc suggestions, in addition to helping them find it via rustdoc search: When suggesting method names, prefer exact doc aliases over similar names
π
Platform Support
Refer to Rust's platform support page
for more information on Rust's tiered platform support.
Libraries
- Relax
transmute_copyto accept?Sizedtypes) - Update
transmute_copyto use a non-unwinding panic
π - Don't escape U+FF9E and U+FF9F in
escape_debug_ext
π - Introduce a
PinSafePointertrait that generalizesPinCoerceUnsized
π
Stabilized APIs
- Implement
IntoIteratorfor[&[mut]] Box<[T; N], A>
π VecDeque::retain_back
πStep::forward_overflowingStep::backward_overflowing
πBox::into_non_nullBox::from_non_nullVec::into_partsVec::from_parts
πcore::mem::size_of_val_rawcore::mem::align_of_val_rawcore::alloc::Layout::for_value_raw
πString::from_utf8_lossy_owned
πFusedIterator for StepBy<I>
πstd::fs::set_timesstd::fs::set_times_nofollow
π
These previously stable APIs are now stable in const contexts:
Cargo
- Stabilize
build-dirlayout v2 - feat(toml): allow overriding inherited default-features in 2024
- feat(profile): Add built-in profile debug
Rustdoc
- Add new
unused_footnote_definitionrustdoc lint
π - Smarter filtering of trait impls yields performance improvements of 20% on average and up to 40% on some real-world crates
π
Compatibility Notes
- fully deprecate the legacy integral modules
π - Upgrade
no_mangle_generic_itemsinto hard error
π - Do not promote references to extern statics
π - Ensure inferred
letpattern types typecheck
π - hermit/fs: Return
unsupported()instead offrom_raw_os_error(22)
π - Fixed a bug where
#[repr(simd)]was accidentally allowed on macro invocations on stable Rust
π - Abort const-eval when there are generics in the type of the value being produced
π - Box::leak: tell people to avoid unleaking
π - PowerPC inline ASM: Fix scalar floats being in the wrong vector lane on little endian
π
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up β it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Version 1.99.0 release-note sections in this issue and follow the linked pull requests and π tracking issues to identify entries needing updates. Done means the release notes are complete, consistently formatted, and reflect the linked changes without leaving known tracking items unresolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation, release
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100