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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
778 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)
2024-01-10 08:58:03 -06:00
error: aborting due to 1 previous error
2022-05-27 12:47:05 -05:00
2024-01-10 08:58:03 -06:00
For more information about this error, try `rustc --explain E0109`.