]> git.lizzy.rs Git - rust.git/blob - tests/ui/macro_use_imports.stderr
wip: of handling nested import paths for multi-macro paths
[rust.git] / 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:17:5
3    |
4 LL |     #[macro_use]
5    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use use mini_mac::ClippyMiniMacroTest;`
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:15:5
11    |
12 LL |     #[macro_use]
13    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use use mac::{pub_macro, inner_mod_macro, function_macro, ty_macro, pub_in_private_macro, inner::{foofoo, try_err, nested::string_add}};`
14
15 error: aborting due to 2 previous errors
16