]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/macro_use_imports.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / macro_use_imports.stderr
1 error: `macro_use` attributes are no longer needed in the Rust 2018 edition
2 --> $DIR/macro_use_imports.rs:18:5
3 |
4 LL | #[macro_use]
5 | ^^^^^^^^^^^^ 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};`
6 |
7 = note: `-D clippy::macro-use-imports` implied by `-D warnings`
8
9 error: `macro_use` attributes are no longer needed in the Rust 2018 edition
10 --> $DIR/macro_use_imports.rs:20:5
11 |
12 LL | #[macro_use]
13 | ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mini_mac::ClippyMiniMacroTest;`
14
15 error: `macro_use` attributes are no longer needed in the Rust 2018 edition
16 --> $DIR/macro_use_imports.rs:22:5
17 |
18 LL | #[macro_use]
19 | ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::{inner::foofoo, inner::try_err};`
20
21 error: `macro_use` attributes are no longer needed in the Rust 2018 edition
22 --> $DIR/macro_use_imports.rs:24:5
23 |
24 LL | #[macro_use]
25 | ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner::nested::string_add;`
26
27 error: aborting due to 4 previous errors
28