about summary refs log tree commit diff
path: root/src/test/ui/self/elision/ref-struct-async.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-38/+0
2022-06-03Fully stabilize NLLJack Huey-13/+5
2022-04-17Use revisions instead of nll compare mode for `/self/` ui testsmarmeladema-5/+18
2019-11-26Stabilize nested self receiversTaylor Cramer-1/+0
Previously, only Self, &Self, &mut Self, Arc<Self>, Rc<Self>, and Box<Self> were available as stable method receivers. This commit stabilizes nested uses of all the above types. However, nested receivers remain non-object-safe.
2019-10-02WIP fix testsNiko Matsakis-5/+5
2019-08-20Remove async_await gates from tests.Mazdak Farrokhzad-2/+0
2019-08-12revamp how we handle elision in async fnNiko Matsakis-15/+5
We now always make fresh lifetimne parameters for all elided lifetimes, whether they are in the inputs or outputs. But then we generate `'_` in the case of elided lifetimes from the outputs. Example: ```rust async fn foo<'a>(x: &'a u32) -> &u32 { .. } ``` becomes ```rust type Foo<'a, 'b> = impl Future<Output = &'b u32>; fn foo<'a>(x: &'a u32) -> Foo<'a, '_> ```
2019-08-08lifetime elision: add non-conforming-to-fn tests.Mazdak Farrokhzad-0/+46