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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
724 B
Plaintext
Raw Normal View History

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