99 | ^ ...but data from `f` is returned here
1010 |
1111 = note: each elided lifetime in input position becomes a distinct lifetime
12- help: consider introducing a named lifetime parameter
12+ help: consider introducing a named lifetime parameter and update trait if needed
1313 |
1414LL | fn ref_self<'a>(&'a self, f: &'a u32) -> &u32 {
1515 | ++++ ++ ++
2525 | ^ ...but data from `f` is returned here
2626 |
2727 = note: each elided lifetime in input position becomes a distinct lifetime
28- help: consider introducing a named lifetime parameter
28+ help: consider introducing a named lifetime parameter and update trait if needed
2929 |
3030LL | fn ref_Self<'a>(self: &'a Self, f: &'a u32) -> &u32 {
3131 | ++++ ++ ++
4141 | ^ ...but data from `f` is returned here
4242 |
4343 = note: each elided lifetime in input position becomes a distinct lifetime
44- help: consider introducing a named lifetime parameter
44+ help: consider introducing a named lifetime parameter and update trait if needed
4545 |
4646LL | fn box_ref_Self<'a>(self: Box<&'a Self>, f: &'a u32) -> &u32 {
4747 | ++++ ++ ++
5757 | ^ ...but data from `f` is returned here
5858 |
5959 = note: each elided lifetime in input position becomes a distinct lifetime
60- help: consider introducing a named lifetime parameter
60+ help: consider introducing a named lifetime parameter and update trait if needed
6161 |
6262LL | fn pin_ref_Self<'a>(self: Pin<&'a Self>, f: &'a u32) -> &u32 {
6363 | ++++ ++ ++
7373 | ^ ...but data from `f` is returned here
7474 |
7575 = note: each elided lifetime in input position becomes a distinct lifetime
76- help: consider introducing a named lifetime parameter
76+ help: consider introducing a named lifetime parameter and update trait if needed
7777 |
7878LL | fn box_box_ref_Self<'a>(self: Box<Box<&'a Self>>, f: &'a u32) -> &u32 {
7979 | ++++ ++ ++
8989 | ^ ...but data from `f` is returned here
9090 |
9191 = note: each elided lifetime in input position becomes a distinct lifetime
92- help: consider introducing a named lifetime parameter
92+ help: consider introducing a named lifetime parameter and update trait if needed
9393 |
9494LL | fn box_pin_ref_Self<'a>(self: Box<Pin<&'a Self>>, f: &'a u32) -> &u32 {
9595 | ++++ ++ ++
@@ -105,7 +105,7 @@ LL | f
105105 | ^ ...but data from `f` is returned here
106106 |
107107 = note: each elided lifetime in input position becomes a distinct lifetime
108- help: consider introducing a named lifetime parameter
108+ help: consider introducing a named lifetime parameter and update trait if needed
109109 |
110110LL | fn wrap_ref_Self_Self<'a>(self: Wrap<&'a Self, Self>, f: &'a u8) -> &u8 {
111111 | ++++ ++ ++
0 commit comments