about summary refs log tree commit diff
path: root/tests/ui/macros/macro-use-bad-args-2.stderr
blob: 2db9ffe50b04221f73bd2c7ce8812f9c0068a392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0565]: malformed `macro_use` attribute input
  --> $DIR/macro-use-bad-args-2.rs:3:1
   |
LL | #[macro_use(foo="bar")]
   | ^^^^^^^^^^^^^^^------^^
   |                |
   |                didn't expect any arguments here
   |
   = note: for more information, visit <https://doc.rust-lang.org/reference/macros-by-example.html#the-macro_use-attribute>
help: try changing it to one of the following valid forms of the attribute
   |
LL - #[macro_use(foo="bar")]
LL + #[macro_use(name1, name2, ...)]
   |
LL - #[macro_use(foo="bar")]
LL + #[macro_use]
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0565`.