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