Announcing Rust 1.72.0 | Rust Blog

https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html

51 points · 2 comments · view on lemmy.world

2 Comments

Knusper@feddit.de · 15 pts · 2y (1 reply)

If "Rust reports potentially useful cfg-disabled items in errors" works remotely as well as I'm imagining it, that's going to be insanely useful.

It was this very day, that I wasted several minutes wondering how the hell url::Url does not implement the serde-traits, when those were simply behind a feature flag.

Anders429@lemmy.world · 8 pts · 2y

This will also hopefully limit the number of issues opened that are resolved with a "you must enable X feature."