2020-02-26 12:40:31 +00:00
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
2021-11-04 12:52:36 +00:00
|
|
|
--> $DIR/macro_use_imports.rs:18:5
|
2020-02-26 12:40:31 +00:00
|
|
|
|
|
2020-06-23 15:05:22 +00:00
|
|
|
LL | #[macro_use]
|
2022-02-05 02:07:13 +00:00
|
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::{pub_macro, function_macro, ty_macro, inner_mod_macro, pub_in_private_macro};`
|
2020-02-26 12:40:31 +00:00
|
|
|
|
|
2020-03-05 18:22:17 +00:00
|
|
|
= note: `-D clippy::macro-use-imports` implied by `-D warnings`
|
2020-02-26 12:40:31 +00:00
|
|
|
|
2020-06-23 15:05:22 +00:00
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
2021-11-04 12:52:36 +00:00
|
|
|
--> $DIR/macro_use_imports.rs:20:5
|
2020-06-23 15:05:22 +00:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
2021-11-04 12:52:36 +00:00
|
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mini_mac::ClippyMiniMacroTest;`
|
2020-06-23 15:05:22 +00:00
|
|
|
|
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
2021-11-04 12:52:36 +00:00
|
|
|
--> $DIR/macro_use_imports.rs:22:5
|
2020-06-23 15:05:22 +00:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
2021-11-04 12:52:36 +00:00
|
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::{inner::foofoo, inner::try_err};`
|
2020-06-23 15:05:22 +00:00
|
|
|
|
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
2021-11-04 12:52:36 +00:00
|
|
|
--> $DIR/macro_use_imports.rs:24:5
|
2020-06-23 15:05:22 +00:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
2021-11-04 12:52:36 +00:00
|
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner::nested::string_add;`
|
2020-06-23 15:05:22 +00:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2020-02-26 12:40:31 +00:00
|
|
|
|