Article 6MGYX Rust 1.78.0 released

Rust 1.78.0 released

by
corbet
from LWN.net on (#6MGYX)
Version1.78.0 of the Rust language has been released. Changes include a newmechanism for diagnostic attributes, changes to how assertions aroundunsafe blocks are handled, and more.

Rust now supports a #[diagnostic] attribute namespace toinfluence compiler error messages. These are treated as hints whichthe compiler is not required to use, and it is also not an error toprovide a diagnostic that the compiler doesn't recognize. Thisflexibility allows source code to provide diagnostics even whenthey're not supported by all compilers, whether those are differentversions or entirely different implementations.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments