fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
662 B19 linesraw
1error[E0392]: parameter `'a` is never used
2  --> $DIR/variance-regions-unused-indirect.rs:3:10
3   |
4LL | enum Foo<'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/variance-regions-unused-indirect.rs:7:10
11   |
12LL | enum Bar<'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`.