Announcing Rust 1.72.0 | Rust Blog - eviltoast
  • Knusper@feddit.de
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

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