Rust 1.72.0: New Features and Updates
The Rust team has released a new version of Rust, 1.72.0. This update brings several new features and improvements for developers. One notable feature is that Rust now reports potentially useful cfg
-disabled items in errors. Previously, these items would be invisible to the compiler, but now the compiler will remember their names and cfg
conditions, allowing it to provide more informative error messages. Another significant update is that const evaluation time is now unlimited. This means that user-provided const evaluation will no longer be limited by the maximum number of statements, allowing for more complex and creative Rust code. Developers can update to Rust 1.72.0 by using rustup update stable
. For more details on the release, including a full list of changes, developers can refer to the detailed release notes on GitHub.