]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-extern_crate_item_prelude.stderr
4dec8a35bcab1dc7de76dbaed1a193c1fd4fdeee
[rust.git] / src / test / ui / feature-gates / feature-gate-extern_crate_item_prelude.stderr
1 error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #54658)
2   --> $DIR/feature-gate-extern_crate_item_prelude.rs:26:9
3    |
4 LL |     use alloc;
5    |         ^^^^^
6    |
7    = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable
8
9 error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #54658)
10   --> $DIR/feature-gate-extern_crate_item_prelude.rs:28:9
11    |
12 LL |     use alloc::boxed;
13    |         ^^^^^
14    |
15    = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable
16
17 error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #54658)
18   --> $DIR/feature-gate-extern_crate_item_prelude.rs:33:11
19    |
20 LL |     use ::alloc;
21    |           ^^^^^
22    |
23    = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable
24
25 error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #54658)
26   --> $DIR/feature-gate-extern_crate_item_prelude.rs:35:11
27    |
28 LL |     use ::alloc::boxed;
29    |           ^^^^^
30    |
31    = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable
32
33 error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #54658)
34   --> $DIR/feature-gate-extern_crate_item_prelude.rs:9:17
35    |
36 LL |         let v = alloc::vec![0];
37    |                 ^^^^^
38    |
39    = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable
40
41 error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #54658)
42   --> $DIR/feature-gate-extern_crate_item_prelude.rs:11:18
43    |
44 LL |         type A = alloc::boxed::Box<u8>;
45    |                  ^^^^^
46    |
47    = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable
48
49 error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #54658)
50   --> $DIR/feature-gate-extern_crate_item_prelude.rs:18:19
51    |
52 LL |         let v = ::alloc::vec![0];
53    |                   ^^^^^
54    |
55    = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable
56
57 error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #54658)
58   --> $DIR/feature-gate-extern_crate_item_prelude.rs:20:20
59    |
60 LL |         type A = ::alloc::boxed::Box<u8>;
61    |                    ^^^^^
62    |
63    = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable
64
65 error: aborting due to 8 previous errors
66
67 For more information about this error, try `rustc --explain E0658`.