fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
874 B31 linesraw
1warning: unnecessary lifetime parameter `'a`
2  --> $DIR/regions-static-bound-rpass.rs:6:11
3   |
4LL |     where 'a: 'static { t }
5   |           ^^
6   |
7   = help: you can use the `'static` lifetime directly, in place of `'a`
8note: the lint level is defined here
9  --> $DIR/regions-static-bound-rpass.rs:3:9
10   |
11LL | #![warn(unused_lifetimes)]
12   |         ^^^^^^^^^^^^^^^^
13
14warning: unnecessary lifetime parameter `'a`
15  --> $DIR/regions-static-bound-rpass.rs:10:11
16   |
17LL |     where 'a: 'static { t }
18   |           ^^
19   |
20   = help: you can use the `'static` lifetime directly, in place of `'a`
21
22warning: unnecessary lifetime parameter `'b`
23  --> $DIR/regions-static-bound-rpass.rs:14:19
24   |
25LL |     where 'a: 'b, 'b: 'static { t }
26   |                   ^^
27   |
28   = help: you can use the `'static` lifetime directly, in place of `'b`
29
30warning: 3 warnings emitted
31