Wrong unused_import warning #50537
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
With this code:
...I get the following warning when running
cargo test
:If the warning is correct, I should be able to remove it and the code should still work. But of course if I remove the import, the follwing happens:
The text was updated successfully, but these errors were encountered: