rust/src/test/ui/rust-2018/uniform-paths/prelude-fail.stderr

16 lines
491 B
Plaintext
Raw Normal View History

error: cannot import a built-in macro
2018-12-27 03:38:43 +03:00
--> $DIR/prelude-fail.rs:4:5
|
LL | use env as env_imported; //~ ERROR cannot import a built-in macro
| ^^^^^^^^^^^^^^^^^^^
error[E0432]: unresolved import `rustfmt`
2018-12-27 03:38:43 +03:00
--> $DIR/prelude-fail.rs:7:5
|
LL | use rustfmt::skip as imported_rustfmt_skip; //~ ERROR unresolved import `rustfmt`
| ^^^^^^^ not a module `rustfmt`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0432`.