]> git.lizzy.rs Git - rust.git/blob - tests/ui/macro_use_imports.stderr
use hashset not map for keeping track of seen macro refs
[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:15:5
3    |
4 LL |     #[macro_use]
5    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::pub_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:15:5
11    |
12 LL |     #[macro_use]
13    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner_mod_macro`
14
15 error: `macro_use` attributes are no longer needed in the Rust 2018 edition
16   --> $DIR/macro_use_imports.rs:15:5
17    |
18 LL |     #[macro_use]
19    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::function_macro`
20
21 error: `macro_use` attributes are no longer needed in the Rust 2018 edition
22   --> $DIR/macro_use_imports.rs:15:5
23    |
24 LL |     #[macro_use]
25    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::ty_macro`
26
27 error: `macro_use` attributes are no longer needed in the Rust 2018 edition
28   --> $DIR/macro_use_imports.rs:15:5
29    |
30 LL |     #[macro_use]
31    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::pub_in_private_macro`
32
33 error: `macro_use` attributes are no longer needed in the Rust 2018 edition
34   --> $DIR/macro_use_imports.rs:17:5
35    |
36 LL |     #[macro_use]
37    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mini_mac::ClippyMiniMacroTest`
38
39 error: `macro_use` attributes are no longer needed in the Rust 2018 edition
40   --> $DIR/macro_use_imports.rs:19:5
41    |
42 LL |     #[macro_use]
43    |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner::try_err`
44
45 error: aborting due to 7 previous errors
46