rust-clippy/tests/ui/enum_glob_use.stderr
2019-01-08 21:46:39 +01:00

16 lines
395 B
Text

error: don't use glob imports for enum variants
--> $DIR/enum_glob_use.rs:4:1
|
LL | use std::cmp::Ordering::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::enum-glob-use` implied by `-D warnings`
error: don't use glob imports for enum variants
--> $DIR/enum_glob_use.rs:10:1
|
LL | use self::Enum::*;
| ^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors