Files
rust/tests/ui/macro_use_import.stderr

11 lines
359 B
Plaintext
Raw Normal View History

2020-02-26 07:40:31 -05:00
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