rust/tests/ui/macro_use_import.stderr
2020-03-04 09:36:02 -05:00

11 lines
359 B
Plaintext

error: `macro_use` attributes are no longer needed in the Rust 2018 edition
--> $DIR/macro_use_import.rs:5:1
|
LL | #[macro_use]
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use std::prelude::<macro name>`
|
= note: `-D clippy::macro-use-import` implied by `-D warnings`
error: aborting due to previous error