mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
15 lines
444 B
Plaintext
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
|
|
|