2022-06-01 16:55:30 -07:00
|
|
|
error[E0109]: type arguments are not allowed on type parameter `Irrelevant`
|
2022-05-27 10:47:05 -07:00
|
|
|
--> $DIR/issue-97343.rs:4:23
|
|
|
|
|
|
|
|
|
LL | #[derive(Debug)]
|
2022-06-01 16:55:30 -07:00
|
|
|
| -----
|
|
|
|
| |
|
2022-06-19 17:54:19 -07:00
|
|
|
| not allowed on type parameter `Irrelevant`
|
2022-06-01 16:55:30 -07:00
|
|
|
| in this derive macro expansion
|
2022-05-27 10:47:05 -07:00
|
|
|
LL | pub struct Irrelevant<Irrelevant> {
|
|
|
|
| ^^^^^^^^^^ type argument not allowed
|
|
|
|
|
|
2022-05-31 14:20:15 -07:00
|
|
|
note: type parameter `Irrelevant` defined here
|
|
|
|
--> $DIR/issue-97343.rs:4:23
|
|
|
|
|
|
|
|
|
LL | pub struct Irrelevant<Irrelevant> {
|
|
|
|
| ^^^^^^^^^^
|
2022-05-27 10:47:05 -07:00
|
|
|
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
2022-05-27 10:48:12 -07:00
|
|
|
error: aborting due to previous error
|
2022-05-27 10:47:05 -07:00
|
|
|
|
2022-05-27 10:48:12 -07:00
|
|
|
For more information about this error, try `rustc --explain E0109`.
|