]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-uniform-paths.stderr
Rollup merge of #56242 - GuillaumeGomez:iterator-missing-link, r=Centril
[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 a built-in attribute
29
30 error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
31   --> $DIR/feature-gate-uniform-paths.rs:23:5
32    |
33 LL | use Vec; //~ ERROR imports can only refer to extern crate names
34    |     ^^^ not an extern crate passed with `--extern`
35    |
36    = help: add #![feature(uniform_paths)] to the crate attributes to enable
37    = note: this import refers to a struct from prelude
38
39 error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
40   --> $DIR/feature-gate-uniform-paths.rs:25:5
41    |
42 LL | use vec; //~ ERROR imports can only refer to extern crate names
43    |     ^^^ not an extern crate passed with `--extern`
44    |
45    = help: add #![feature(uniform_paths)] to the crate attributes to enable
46    = note: this import refers to a macro from prelude
47
48 error: aborting due to 4 previous errors
49
50 For more information about this error, try `rustc --explain E0658`.