rust/tests/ui/proc-macro/proc-macro-gates2.stderr

15 lines
444 B
Plaintext

error: expected non-macro attribute, found attribute macro `empty_attr`
--> $DIR/proc-macro-gates2.rs:12:13
|
LL | fn _test6<#[empty_attr] T>() {}
| ^^^^^^^^^^ not a non-macro attribute
error: expected non-macro attribute, found attribute macro `empty_attr`
--> $DIR/proc-macro-gates2.rs:17:11
|
LL | #[empty_attr]
| ^^^^^^^^^^ not a non-macro attribute
error: aborting due to 2 previous errors