1 error[E0109]: type arguments are not allowed on type parameter `Irrelevant`
2 --> $DIR/issue-97343.rs:4:23
7 | not allowed on type parameter `Irrelevant`
8 | in this derive macro expansion
9 LL | pub struct Irrelevant<Irrelevant> {
10 | ^^^^^^^^^^ type argument not allowed
12 note: type parameter `Irrelevant` defined here
13 --> $DIR/issue-97343.rs:4:23
15 LL | pub struct Irrelevant<Irrelevant> {
17 = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0109`.