Closed vext01 closed 7 months ago
Which features did you enable? The CI tests several different combinations but not all possible combinations.
I just ran cargo test
, so I guess the default feature set.
FWIW, we've been through this dance recently in some of our Rust code. Something changed in rust nightly.
I ran cargo test
and I seem to have only gotten errors about code_asm since it's not enabled by default.
cargo test --tests
showed no warnings, no Vec or TryInto warnings.
Are you running a recent nightly?
No only stable.
You will probably start seeing these warnings with the next stable version of rust then.
They're in nightly but not beta. Seems like when you import something with * you import other use statements too in that module, including eg. use alloc::vec::Vec;
. I don't know if this is a new bug. If we get this warning in stable, I may need to just disable that warning since it will be useless.
The latest rust nightly finds loads of redundant imports: