]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-underscore-imports.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / feature-gates / feature-gate-underscore-imports.stderr
1 error[E0658]: renaming extern crates with `_` is unstable (see issue #48216)
2   --> $DIR/feature-gate-underscore-imports.rs:11:1
3    |
4 LL | extern crate std as _; //~ ERROR renaming extern crates with `_` is unstable
5    | ^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(underscore_imports)] to the crate attributes to enable
8
9 error[E0658]: renaming imports with `_` is unstable (see issue #48216)
10   --> $DIR/feature-gate-underscore-imports.rs:12:5
11    |
12 LL | use std::vec as _; //~ ERROR renaming imports with `_` is unstable
13    |     ^^^^^^^^^^^^^
14    |
15    = help: add #![feature(underscore_imports)] to the crate attributes to enable
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0658`.