Subj : Rust 1.78.0 released To : All From : LWN.net Date : Thu May 02 2024 15:45:05 Rust 1.78.0 released Date: Thu, 02 May 2024 14:43:12 +0000 Description: Version 1.78.0 of the Rust language has been released. Changes include a new mechanism for diagnostic attributes, changes to how assertions around unsafe blocks are handled, and more. Rust now supports a #[diagnostic] attribute namespace to influence compiler error messages. These are treated as hints which the compiler is not required to use, and it is also not an error to provide a diagnostic that the compiler doesn't recognize. This flexibility allows source code to provide diagnostics even when they're not supported by all compilers, whether those are different versions or entirely different implementations. ====================================================================== Link to news story: https://lwn.net/Articles/972191/ --- Mystic BBS v1.12 A47 (Linux/64) * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100) .