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