this post was submitted on 24 Aug 2023
54 points (98.2% liked)

Rust Programming

8188 readers
33 users here now

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Knusper@feddit.de 16 points 1 year ago (1 children)

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 points 1 year ago

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