rust/tests/ui/derives/issue-97343.stderr

22 lines
776 B
Plaintext
Raw Normal View History

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