mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 18:44:56 +00:00
47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
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 mac::pub_macro`
|
|
|
|
|
= 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 mac::inner_mod_macro`
|
|
|
|
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 mac::function_macro`
|
|
|
|
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 mac::ty_macro`
|
|
|
|
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 mac::pub_in_private_macro`
|
|
|
|
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 mini_mac::ClippyMiniMacroTest`
|
|
|
|
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
|
|
--> $DIR/macro_use_imports.rs:19:5
|
|
|
|
|
LL | #[macro_use]
|
|
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner::try_err`
|
|
|
|
error: aborting due to 7 previous errors
|
|
|