Files
rust/src/test/ui/issues/issue-49934-errors.stderr

16 lines
465 B
Plaintext
Raw Normal View History

2020-09-05 14:55:15 +02:00
error[E0774]: `derive` may only be applied to structs, enums and unions
--> $DIR/issue-49934-errors.rs:1:8
|
LL | fn foo<#[derive(Debug)] T>() {
| ^^^^^^^^^^^^^^^^
2020-09-05 14:55:15 +02:00
error[E0774]: `derive` may only be applied to structs, enums and unions
--> $DIR/issue-49934-errors.rs:4:9
|
LL | #[derive(Debug)]
| ^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
2020-09-05 14:55:15 +02:00
For more information about this error, try `rustc --explain E0774`.