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