]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0392]: parameter `'a` is never used |
0731742a | 2 | --> $DIR/issue-36299.rs:1:12 |
8faf50e0 XL |
3 | | |
4 | LL | struct Foo<'a, A> {} | |
48663c56 | 5 | | ^^ unused parameter |
8faf50e0 | 6 | | |
1b1a35ee | 7 | = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` |
8faf50e0 XL |
8 | |
9 | error[E0392]: parameter `A` is never used | |
0731742a | 10 | --> $DIR/issue-36299.rs:1:16 |
8faf50e0 XL |
11 | | |
12 | LL | struct Foo<'a, A> {} | |
48663c56 | 13 | | ^ unused parameter |
8faf50e0 | 14 | | |
1b1a35ee | 15 | = help: consider removing `A`, referring to it in a field, or using a marker such as `PhantomData` |
8faf50e0 XL |
16 | |
17 | error: aborting due to 2 previous errors | |
18 | ||
19 | For more information about this error, try `rustc --explain E0392`. |