fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: `derive` may only be applied to structs, enums and unions 2 --> $DIR/issue-49934-errors.rs:1:8 3 | 4LL | fn foo<#[derive(Debug)] T>() { 5 | ^^^^^^^^^^^^^^^^ 6 7error: expected an inert attribute, found a derive macro 8 --> $DIR/issue-49934-errors.rs:1:17 9 | 10LL | fn foo<#[derive(Debug)] T>() { 11 | ^^^^^ 12 13error: `derive` may only be applied to structs, enums and unions 14 --> $DIR/issue-49934-errors.rs:5:9 15 | 16LL | #[derive(Debug)] 17 | ^^^^^^^^^^^^^^^^ 18 19error: expected an inert attribute, found a derive macro 20 --> $DIR/issue-49934-errors.rs:5:18 21 | 22LL | #[derive(Debug)] 23 | ^^^^^ 24 25error: aborting due to 4 previous errors 26