Rust 1.92 touts deny-by-default never type lints

Also in Rust 1.92, The unused_must_use lint no longer warns on Result<(), UninhabitedType>, or ControlFlow. For instance, it will not warn on Result<(), Infallible>, avoiding the need to check for an error that will never happen.

Elsewhere in Rust 1.92, the release team reported, unwind tables are now emitted by default even when -Cpanic=abort is specified, allowing for backtraces to work properly. Developers may use -Cforce-unwind-tables=no to explicitly disable unwind tables if necessary. It was also noted that the past few releases brought many changes to the way built-in attributes are processed in the compiler. These updates should improve Rust error messages and warnings for built-in attributes, and will especially make these diagnostics more consistent among all of the more than 100 built-in Rust attributes.

Rust 1.92 also features stabilized APIs such as Location::file_as_c_str, Rc::new_zeroed, and Arc::new_zeroed_slice.

Donner Music, make your music with gear
Multi-Function Air Blower: Blowing, suction, extraction, and even inflation

Leave a reply

Please enter your comment!
Please enter your name here