blob: 0c5c2f52c4d242924a9a7f6cf99173c429e3dde0 [file] [edit]
error: use of ambiguously glob imported trait `Role`
--> $DIR/ambiguous-glob-imported-subtrait.rs:33:17
|
LL | use first_policy::*;
| ------------ `Role` imported ambiguously here
...
LL | assert!(0u8.allow_action());
| ^^^^^^^^^^^^
|
= help: import `Role` explicitly
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #152822 <https://github.com/rust-lang/rust/issues/152822>
note: the lint level is defined here
--> $DIR/ambiguous-glob-imported-subtrait.rs:4:9
|
LL | #![deny(ambiguous_glob_imported_traits)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error