Creative Sol House

Rust 1.74.0 Released

It’s been a month since the new version of Rust 1.74.0 was released. Rust is a programming language empowering everyone to build reliable and efficient software. One of the most exciting features of Rust 1.74.0 is Lint configuration through Cargo, the Cargo.toml manifest now supports a [lints] table to configure the reporting level (forbid, deny, warn, allow) for lints from the compiler and other tools. 

If you have ever received the error that a "return type cannot contain a projection or Self that references lifetimes from a parent scope," you may now rest easy! The Rust 1.74.0 compiler now allows mentioning Self and associated types in opaque return types, like async fn and -> impl Trait

Facebook
Twitter
LinkedIn

Leave a Comment

The Digital World Highlights