summaryrefslogtreecommitdiffstats
path: root/src/test/ui/regions/regions-static-bound-rpass.stderr
blob: 9355a409d5099a733e0e2eebccf711d595e7ec4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
warning: unnecessary lifetime parameter `'a`
  --> $DIR/regions-static-bound-rpass.rs:4:11
   |
LL |     where 'a: 'static { t }
   |           ^^
   |
   = help: you can use the `'static` lifetime directly, in place of `'a`

warning: unnecessary lifetime parameter `'a`
  --> $DIR/regions-static-bound-rpass.rs:8:11
   |
LL |     where 'a: 'static { t }
   |           ^^
   |
   = help: you can use the `'static` lifetime directly, in place of `'a`

warning: unnecessary lifetime parameter `'b`
  --> $DIR/regions-static-bound-rpass.rs:12:19
   |
LL |     where 'a: 'b, 'b: 'static { t }
   |                   ^^
   |
   = help: you can use the `'static` lifetime directly, in place of `'b`

warning: 3 warnings emitted