mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
16 lines
396 B
Text
16 lines
396 B
Text
error: don't use glob imports for enum variants
|
|
--> $DIR/enum_glob_use.rs:13:1
|
|
|
|
|
13 | 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:19:1
|
|
|
|
|
19 | use self::Enum::*;
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|