about summary refs log tree commit diff
path: root/tests/ui/self/elision/lt-ref-self-async.fixed
AgeCommit message (Collapse)AuthorLines
2025-06-04Replace `elided_named_lifetimes` with `mismatched_lifetime_syntaxes`Jake Goulding-1/+1
2024-10-04Bless ui tests.Camille GILLOT-6/+6
2024-08-31elided_named_lifetimes: bless & add testsPavel Grigorenko-1/+1
2024-05-17Run `rustfmt` on modified testsEsteban Küber-2/+4
2024-05-17Account for owning item lifetimes in suggestion and annotate tests as ↵Esteban Küber-0/+45
`run-rustfix` ``` error: lifetime may not live long enough --> $DIR/lt-ref-self.rs:12:9 | LL | fn ref_self(&self, f: &u32) -> &u32 { | - - let's call the lifetime of this reference `'1` | | | let's call the lifetime of this reference `'2` LL | f | ^ method was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1` | help: consider introducing a named lifetime parameter and update trait if needed | LL | fn ref_self<'b>(&'b self, f: &'b u32) -> &'b u32 { | ++++ ++ ++ ++ ```