]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/equal-hidden-lifetimes.stderr
Add 'src/tools/miri/' from commit '75dd959a3a40eb5b4574f8d2e23aa6efbeb33573'
[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