2022-02-07 21:58:30 +00:00
|
|
|
warning: unnecessary lifetime parameter `'a`
|
2022-03-14 14:56:37 +00:00
|
|
|
--> $DIR/regions-static-bound-rpass.rs:4:11
|
2022-02-07 21:58:30 +00:00
|
|
|
|
|
2022-03-14 14:56:37 +00:00
|
|
|
LL | where 'a: 'static { t }
|
|
|
|
| ^^
|
2022-02-07 21:58:30 +00:00
|
|
|
|
|
|
|
|
= help: you can use the `'static` lifetime directly, in place of `'a`
|
|
|
|
|
|
|
|
warning: unnecessary lifetime parameter `'a`
|
2022-03-14 14:56:37 +00:00
|
|
|
--> $DIR/regions-static-bound-rpass.rs:8:11
|
2022-02-07 21:58:30 +00:00
|
|
|
|
|
2022-03-14 14:56:37 +00:00
|
|
|
LL | where 'a: 'static { t }
|
|
|
|
| ^^
|
2022-02-07 21:58:30 +00:00
|
|
|
|
|
|
|
|
= help: you can use the `'static` lifetime directly, in place of `'a`
|
|
|
|
|
|
|
|
warning: unnecessary lifetime parameter `'b`
|
2022-03-14 14:56:37 +00:00
|
|
|
--> $DIR/regions-static-bound-rpass.rs:12:19
|
2022-02-07 21:58:30 +00:00
|
|
|
|
|
2022-03-14 14:56:37 +00:00
|
|
|
LL | where 'a: 'b, 'b: 'static { t }
|
|
|
|
| ^^
|
2022-02-07 21:58:30 +00:00
|
|
|
|
|
|
|
|
= help: you can use the `'static` lifetime directly, in place of `'b`
|
|
|
|
|
|
|
|
warning: 3 warnings emitted
|
|
|
|
|