]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/macro_use_imports.stderr
Auto merge of #104889 - GuillaumeGomez:fix-impl-block-in-const-expr, r=notriddle
[rust.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:25:5
3    |
4 LL |     #[macro_use]
5    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner::nested::string_add;`
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:21: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:23: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:19:5
23    |
24 LL |     #[macro_use]
25    |     ^^^^^^^^^^^^ 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};`
26
27 error: aborting due to 4 previous errors
28