mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 10:35:22 +00:00
17 lines
746 B
Plaintext
17 lines
746 B
Plaintext
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
|
--> $DIR/macro_use_imports.rs:17:5
|
|
|
|
|
LL | #[macro_use]
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use use mini_mac::ClippyMiniMacroTest;`
|
|
|
|
|
= note: `-D clippy::macro-use-imports` implied by `-D warnings`
|
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
|
--> $DIR/macro_use_imports.rs:15:5
|
|
|
|
|
LL | #[macro_use]
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use use mac::{pub_macro, inner_mod_macro, function_macro, ty_macro, pub_in_private_macro, inner::{foofoo, try_err, nested::string_add}};`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|