Fixes non_local_definitions in nightly.
Note that this is not a clippy error but a compiler error.
I don't actually understand the complain from the compiler. Minimal examples creating an enumeration and adding a simple Display impl inside a test do not trigger the error. I wouldn't look too much into it while false positives are being reported and fixed. That being said, moving the definitions and implementations outside the test fixes the issues
Also upgrade the minimal versions of anyhow and serde, as both fail in nightly
Fixes
non_local_definitions
in nightly. Note that this is not a clippy error but a compiler error.I don't actually understand the complain from the compiler. Minimal examples creating an enumeration and adding a simple Display impl inside a test do not trigger the error. I wouldn't look too much into it while false positives are being reported and fixed. That being said, moving the definitions and implementations outside the test fixes the issues
Also upgrade the minimal versions of anyhow and serde, as both fail in nightly