]> git.lizzy.rs Git - rust.git/blob - tests/ui/regions/regions-static-bound-rpass.stderr
add UI test + docs for `E0789`
[rust.git] / tests / ui / regions / regions-static-bound-rpass.stderr
1 warning: unnecessary lifetime parameter `'a`
2   --> $DIR/regions-static-bound-rpass.rs:4:11
3    |
4 LL |     where 'a: 'static { t }
5    |           ^^
6    |
7    = help: you can use the `'static` lifetime directly, in place of `'a`
8
9 warning: unnecessary lifetime parameter `'a`
10   --> $DIR/regions-static-bound-rpass.rs:8:11
11    |
12 LL |     where 'a: 'static { t }
13    |           ^^
14    |
15    = help: you can use the `'static` lifetime directly, in place of `'a`
16
17 warning: unnecessary lifetime parameter `'b`
18   --> $DIR/regions-static-bound-rpass.rs:12:19
19    |
20 LL |     where 'a: 'b, 'b: 'static { t }
21    |                   ^^
22    |
23    = help: you can use the `'static` lifetime directly, in place of `'b`
24
25 warning: 3 warnings emitted
26