mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
15 lines
427 B
Plaintext
15 lines
427 B
Plaintext
error: expected non-macro attribute, found attribute macro `derive`
|
|
--> $DIR/issue-49934-errors.rs:1:10
|
|
|
|
|
LL | fn foo<#[derive(Debug)] T>() {
|
|
| ^^^^^^ not a non-macro attribute
|
|
|
|
error: expected non-macro attribute, found attribute macro `derive`
|
|
--> $DIR/issue-49934-errors.rs:3:11
|
|
|
|
|
LL | #[derive(Debug)]
|
|
| ^^^^^^ not a non-macro attribute
|
|
|
|
error: aborting due to 2 previous errors
|
|
|