2020-02-26 07:40:31 -05:00
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
2024-02-27 15:25:18 +01:00
|
|
|
--> tests/ui/macro_use_imports.rs:19:5
|
2020-02-26 07:40:31 -05:00
|
|
|
|
|
2020-06-23 17:05:22 +02:00
|
|
|
LL | #[macro_use]
|
2023-12-01 18:21:58 +01:00
|
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::{pub_macro, inner_mod_macro, function_macro, ty_macro, pub_in_private_macro};`
|
2020-02-26 07:40:31 -05:00
|
|
|
|
|
2020-03-05 19:22:17 +01:00
|
|
|
= note: `-D clippy::macro-use-imports` implied by `-D warnings`
|
2023-08-01 14:02:21 +02:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::macro_use_imports)]`
|
2020-02-26 07:40:31 -05:00
|
|
|
|
2020-06-23 17:05:22 +02:00
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
2024-02-27 15:25:18 +01:00
|
|
|
--> tests/ui/macro_use_imports.rs:23:5
|
2020-06-23 17:05:22 +02:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
2023-12-01 18:21:58 +01:00
|
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::{inner::mut_mut, inner::try_err};`
|
2020-06-23 17:05:22 +02:00
|
|
|
|
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
2024-02-27 15:25:18 +01:00
|
|
|
--> tests/ui/macro_use_imports.rs:25:5
|
2020-06-23 17:05:22 +02:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
2023-11-06 16:52:38 +11:00
|
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner::nested::string_add;`
|
2020-06-23 17:05:22 +02:00
|
|
|
|
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
2024-02-27 15:25:18 +01:00
|
|
|
--> tests/ui/macro_use_imports.rs:21:5
|
2020-06-23 17:05:22 +02:00
|
|
|
|
|
|
|
|
LL | #[macro_use]
|
2023-12-01 18:21:58 +01:00
|
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mini_mac::ClippyMiniMacroTest;`
|
2020-06-23 17:05:22 +02:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2020-02-26 07:40:31 -05:00
|
|
|
|