]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/issue-97343.stderr
Auto merge of #106025 - matthiaskrgr:rollup-vz5rqah, r=matthiaskrgr
[rust.git] / src / test / ui / derives / issue-97343.stderr
1 error[E0109]: type arguments are not allowed on type parameter `Irrelevant`
2   --> $DIR/issue-97343.rs:4:23
3    |
4 LL | #[derive(Debug)]
5    |          -----
6    |          |
7    |          not allowed on type parameter `Irrelevant`
8    |          in this derive macro expansion
9 LL | pub struct Irrelevant<Irrelevant> {
10    |                       ^^^^^^^^^^ type argument not allowed
11    |
12 note: type parameter `Irrelevant` defined here
13   --> $DIR/issue-97343.rs:4:23
14    |
15 LL | 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
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0109`.