2017-02-07 14:05:30 -06:00
|
|
|
error: don't use glob imports for enum variants
|
|
|
|
--> $DIR/enum_glob_use.rs:6:1
|
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
6 | use std::cmp::Ordering::*;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: #[deny(enum_glob_use)] implied by #[deny(clippy_pedantic)]
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/enum_glob_use.rs:3:17
|
|
|
|
|
|
|
|
|
3 | #![deny(clippy, clippy_pedantic)]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: don't use glob imports for enum variants
|
|
|
|
--> $DIR/enum_glob_use.rs:12:1
|
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
12 | use self::Enum::*;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: #[deny(enum_glob_use)] implied by #[deny(clippy_pedantic)]
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|