rust/tests/ui/macro_use_imports.stderr

11 lines
361 B
Plaintext
Raw Normal View History

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