
Additionally in Rust 1.92, The unused_must_use lint not warns on Outcome, UninhabitedType>, or ControlFlow. As an example, it is not going to warn on Outcome, avoiding the necessity to test for an error that can by no means occur.
Elsewhere in Rust 1.92, the discharge workforce reported, unwind tables at the moment are emitted by default even when -Cpanic=abort is specified, permitting for backtraces to work correctly. Builders could use -Cforce-unwind-tables=no to explicitly disable unwind tables if essential. It was additionally famous that the previous few releases introduced many adjustments to the way in which built-in attributes are processed within the compiler. These updates ought to enhance Rust error messages and warnings for built-in attributes, and can particularly make these diagnostics extra constant amongst the entire greater than 100 built-in Rust attributes.
Rust 1.92 additionally options stabilized APIs equivalent to Location::file_as_c_str, Rc::new_zeroed, and Arc::new_zeroed_slice.

