2017-05-17 14:19:44 +02:00
|
|
|
error: don't use glob imports for enum variants
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/enum_glob_use.rs:6:1
|
2017-05-17 14:19:44 +02:00
|
|
|
|
|
|
|
|
6 | use std::cmp::Ordering::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D enum-glob-use` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: don't use glob imports for enum variants
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/enum_glob_use.rs:12:1
|
2017-05-17 14:19:44 +02:00
|
|
|
|
|
|
|
|
12 | use self::Enum::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 17:06:27 +01:00
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|