Description
use Foo::*;
will cause the following output:
error[E0432]: unresolved import `Foo`
--> src/lib.rs:1:5
|
1 | use Foo::*;
| ^^^ use of undeclared type or module `Foo`
warning: unused import: `Foo::*`
--> src/lib.rs:1:5
|
1 | use Foo::*;
| ^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
The warning should be silenced.
CC #56982