| error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130) |
| --> <::edition_imports_2015::gen_gated macros>:1:50 |
| | |
| LL | ( ) => { fn check_gated ( ) { enum E { A } use E :: * ; } } |
| | ^ |
| | |
| ::: $DIR/edition-imports-virtual-2015-gated.rs:9:5 |
| | |
| LL | gen_gated!(); |
| | ------------- not an extern crate passed with `--extern` |
| | |
| = help: add #![feature(uniform_paths)] to the crate attributes to enable |
| note: this import refers to the enum defined here |
| --> $DIR/edition-imports-virtual-2015-gated.rs:9:5 |
| | |
| LL | gen_gated!(); |
| | ^^^^^^^^^^^^^ |
| = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| |
| error: aborting due to previous error |
| |
| For more information about this error, try `rustc --explain E0658`. |