mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
27 lines
579 B
Plaintext
27 lines
579 B
Plaintext
error: macro rhs must be delimited
|
|
--> $DIR/unused-macros-malformed-rule.rs:5:11
|
|
|
|
|
LL | () => 0;
|
|
| ^
|
|
|
|
error: macro rhs must be delimited
|
|
--> $DIR/unused-macros-malformed-rule.rs:10:11
|
|
|
|
|
LL | () => 0;
|
|
| ^
|
|
|
|
error: unused macro definition: `foo`
|
|
--> $DIR/unused-macros-malformed-rule.rs:3:14
|
|
|
|
|
LL | macro_rules! foo {
|
|
| ^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/unused-macros-malformed-rule.rs:1:9
|
|
|
|
|
LL | #![deny(unused_macros)]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|