]> git.lizzy.rs Git - rust.git/blob - src/test/ui/editions/edition-imports-virtual-2015-gated.stderr
Auto merge of #53497 - fukatani:test-debuginfo-function-call, r=tromey
[rust.git] / src / test / ui / editions / edition-imports-virtual-2015-gated.stderr
1 error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
2   --> <::edition_imports_2015::gen_gated macros>:1:50
3    |
4 LL | (  ) => { fn check_gated (  ) { enum E { A } use E :: * ; } }
5    |                                                  ^
6    | 
7   ::: $DIR/edition-imports-virtual-2015-gated.rs:9:5
8    |
9 LL |     gen_gated!();
10    |     ------------- not an extern crate passed with `--extern`
11    |
12    = help: add #![feature(uniform_paths)] to the crate attributes to enable
13 note: this import refers to the enum defined here
14   --> $DIR/edition-imports-virtual-2015-gated.rs:9:5
15    |
16 LL |     gen_gated!();
17    |     ^^^^^^^^^^^^^
18    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
19
20 error: aborting due to previous error
21
22 For more information about this error, try `rustc --explain E0658`.