rust/tests/ui/regions/regions-static-bound-rpass.stderr

27 lines
724 B
Plaintext
Raw Normal View History

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