2018-07-23 02:52:51 +03:00
|
|
|
error[E0659]: `std` is ambiguous
|
2018-08-11 16:58:28 +03:00
|
|
|
--> $DIR/macro-path-prelude-shadowing.rs:39:9
|
2018-07-23 02:52:51 +03:00
|
|
|
|
|
|
|
|
LL | std::panic!(); //~ ERROR `std` is ambiguous
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: `std` could refer to the name imported here
|
2018-08-11 16:58:28 +03:00
|
|
|
--> $DIR/macro-path-prelude-shadowing.rs:37:9
|
2018-07-23 02:52:51 +03:00
|
|
|
|
|
|
|
|
LL | use m2::*; // glob-import user-defined `std`
|
|
|
|
| ^^^^^
|
|
|
|
note: `std` could also refer to the name defined here
|
2018-08-11 16:58:28 +03:00
|
|
|
--> $DIR/macro-path-prelude-shadowing.rs:39:9
|
2018-07-23 02:52:51 +03:00
|
|
|
|
|
|
|
|
LL | std::panic!(); //~ ERROR `std` is ambiguous
|
|
|
|
| ^^^
|
|
|
|
= note: consider adding an explicit import of `std` to disambiguate
|
|
|
|
|
2018-08-11 16:58:28 +03:00
|
|
|
error: aborting due to previous error
|
2018-07-23 02:52:51 +03:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0659`.
|