fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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