]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-uniform-paths.stderr
Auto merge of #55935 - alexcrichton:vs2017, r=Mark-Simulacrum
[rust.git] / src / test / ui / feature-gates / feature-gate-uniform-paths.stderr
1 error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
2   --> $DIR/feature-gate-uniform-paths.rs:14:13
3    |
4 LL |       pub use bar::Bar; //~ ERROR imports can only refer to extern crate names
5    |               ^^^
6 LL | 
7 LL | /     pub mod bar {
8 LL | |         pub struct Bar;
9 LL | |     }
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 module defined here
14   --> $DIR/feature-gate-uniform-paths.rs:16:5
15    |
16 LL | /     pub mod bar {
17 LL | |         pub struct Bar;
18 LL | |     }
19    | |_____^
20
21 error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
22   --> $DIR/feature-gate-uniform-paths.rs:21:5
23    |
24 LL | use inline; //~ ERROR imports can only refer to extern crate names
25    |     ^^^^^^ not an extern crate passed with `--extern`
26    |
27    = help: add #![feature(uniform_paths)] to the crate attributes to enable
28 note: this import refers to the built-in attribute imported here
29   --> $DIR/feature-gate-uniform-paths.rs:21:5
30    |
31 LL | use inline; //~ ERROR imports can only refer to extern crate names
32    |     ^^^^^^
33
34 error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
35   --> $DIR/feature-gate-uniform-paths.rs:23:5
36    |
37 LL | use Vec; //~ ERROR imports can only refer to extern crate names
38    |     ^^^ not an extern crate passed with `--extern`
39    |
40    = help: add #![feature(uniform_paths)] to the crate attributes to enable
41 note: this import refers to the struct imported here
42   --> $DIR/feature-gate-uniform-paths.rs:23:5
43    |
44 LL | use Vec; //~ ERROR imports can only refer to extern crate names
45    |     ^^^
46
47 error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
48   --> $DIR/feature-gate-uniform-paths.rs:25:5
49    |
50 LL | use vec; //~ ERROR imports can only refer to extern crate names
51    |     ^^^ not an extern crate passed with `--extern`
52    |
53    = help: add #![feature(uniform_paths)] to the crate attributes to enable
54 note: this import refers to the macro imported here
55   --> $DIR/feature-gate-uniform-paths.rs:25:5
56    |
57 LL | use vec; //~ ERROR imports can only refer to extern crate names
58    |     ^^^
59
60 error: aborting due to 4 previous errors
61
62 For more information about this error, try `rustc --explain E0658`.