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

