about summary refs log tree commit diff
path: root/src/test/ui/self/elision/ref-alias-async.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-39/+0
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-08-20Remove async_await gates from tests.Mazdak Farrokhzad-2/+0
2019-08-12revamp how we handle elision in async fnNiko Matsakis-10/+1
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/+51