Files
rust/tests/ui/macros/macro-use-bad-args-1.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
667 B
Plaintext
Raw Normal View History

error[E0565]: malformed `macro_use` attribute input
--> $DIR/macro-use-bad-args-1.rs:3:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
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]
|
2018-08-08 14:28:26 +02:00
error: aborting due to 1 previous error
2018-08-08 14:28:26 +02:00
For more information about this error, try `rustc --explain E0565`.