summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/macro_use_imports.stderr
blob: bf7b6edd0e314732cc71a469a23dc0a130aaa394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
error: `macro_use` attributes are no longer needed in the Rust 2018 edition
  --> $DIR/macro_use_imports.rs:23:5
   |
LL |     #[macro_use]
   |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::{inner::foofoo, inner::try_err};`
   |
   = 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:21: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:25:5
   |
LL |     #[macro_use]
   |     ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner::nested::string_add;`

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::{pub_macro, function_macro, ty_macro, inner_mod_macro, pub_in_private_macro};`

error: aborting due to 4 previous errors