fork/rust

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

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

1.43.0
282 B8 linesraw
1warning: unnecessary lifetime parameter `'a`
2  --> $DIR/equal-hidden-lifetimes.rs:7:25
3   |
4LL | fn equal_regions_static<'a: 'static>(x: &'a i32) -> impl Sized {
5   |                         ^^^^^^^^^^^
6   |
7   = help: you can use the `'static` lifetime directly, in place of `'a`
8