summary refs log tree commit diff
path: root/src/test/ui/feature-gate-underscore-imports.stderr
blob: 2eea95260d5e590de18b18a0f95238c3231febe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0658]: renaming extern crates with `_` is unstable (see issue #48216)
  --> $DIR/feature-gate-underscore-imports.rs:11:1
   |
LL | extern crate std as _; //~ ERROR renaming extern crates with `_` is unstable
   | ^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(underscore_imports)] to the crate attributes to enable

error[E0658]: renaming imports with `_` is unstable (see issue #48216)
  --> $DIR/feature-gate-underscore-imports.rs:12:5
   |
LL | use std::vec as _; //~ ERROR renaming imports with `_` is unstable
   |     ^^^^^^^^^^^^^
   |
   = help: add #![feature(underscore_imports)] to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.