summary refs log tree commit diff
path: root/src/test/ui/issues/issue-49934-errors.stderr
blob: 71cd2d30342438c5a713e5bbf3b84669c7bd0ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>() {
   |        ^^^^^^^^^^^^^^^^

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

For more information about this error, try `rustc --explain E0774`.