]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/equal-hidden-lifetimes.stderr
Rollup merge of #98441 - calebzulawski:simd_as, r=oli-obk
[rust.git] / src / test / ui / impl-trait / equal-hidden-lifetimes.stderr
1 warning: unnecessary lifetime parameter `'a`
2   --> $DIR/equal-hidden-lifetimes.rs:7:25
3    |
4 LL | 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
9 warning: 1 warning emitted
10