Rust 1.85 arrives with long-awaited async closures
Briefly

Rust 1.85 introduces significant enhancements including the #[diagnostic::do_not_recommend] attribute aimed at helping library authors control compiler suggestions. This version stabilizes APIs like BuildHasherDefault::new and extends tuple iterator traits, allowing greater flexibility with tuple lengths. Additionally, it removes the unstable -Zpolymorphize flag and updates panic paths. The upcoming Rust 2024 edition promises to be the largest, introducing substantial changes while offering a transition guide for developers to manage compatibility risks effectively.
The new #[diagnostic::do_not_recommend] attribute helps library authors manage compiler suggestions, ensuring misleading recommendations are avoided for trait implementations.
Rust 1.85 introduces stabilized APIs like BuildHasherDefault::new and extends convenience traits for tuples beyond singletons to lengths of 12.
Read at InfoWorld
[
|
]