fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
691 B19 linesraw
1error[E0392]: parameter `'a` is never used
2  --> $DIR/variance-regions-unused-direct.rs:5:18
3   |
4LL | struct Bivariant<'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 `'d` is never used
10  --> $DIR/variance-regions-unused-direct.rs:7:19
11   |
12LL | struct Struct<'a, 'd> {
13   |                   ^^ unused parameter
14   |
15   = help: consider removing `'d`, 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`.