about summary refs log tree commit diff
path: root/src/test/ui/self/elision
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-2341/+0
2022-06-03Fully stabilize NLLJack Huey-1167/+116
2022-05-29Make lifetime errors more precise in the presence of `Fresh` lifetimes.Camille GILLOT-0/+319
2022-04-27Recover suggestions to introduce named lifetime under NLLmarmeladema-0/+145
2022-04-17Use revisions instead of nll compare mode for `/self/` ui testsmarmeladema-174/+325
2022-03-01update (bless) test resultsFausto-29/+29
2022-02-28Suggest adding a new lifetime parameter when two elided lifetimes should ↵Fausto-0/+174
match up for traits and impls. Issue #94462
2022-02-17Revert "Auto merge of #91403 - cjgillot:inherit-async, r=oli-obk"Oli Scherer-58/+116
This reverts commit 3cfa4def7c87d571bd46d92fed608edf8fad236e, reversing changes made to 5d8767cb229b097fedb1dd4bd9420d463c37774f.
2022-02-12Inherit lifetimes for async fn instead of duplicating them.Camille GILLOT-116/+58
2022-01-19Simplify error reporting code, remove await point wordingTyler Mandry-116/+87
2022-01-19NiceRegionError: Use written return type for async fnTyler Mandry-116/+116
2020-10-17Make it more clear when complaining about async fn's return typesGus Wynn-87/+116
2020-03-23Update testsJohn Kåre Alsaker-16/+76
2020-03-12update testsMark Mansi-51/+51
2020-02-22update some testsMark Mansi-51/+51
2020-02-14Update testsMatthew Jasper-184/+4
2020-02-09--bless --compare-mode=nllMatthias Prechtl-1/+1
2019-11-29remove get_named_spanMark Mansi-44/+22
2019-11-29improve lifetime errors with implicit trait object lifetimesMark Mansi-66/+66
2019-11-26Stabilize nested self receiversTaylor Cramer-279/+125
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-11-07Update ui testsGuillaume Gomez-0/+10
2019-10-03./x.py test --bless --compare-mode=nllNiko Matsakis-280/+251
2019-10-02WIP fix testsNiko Matsakis-147/+176
2019-08-20--bless post no async_await gates in tests.Mazdak Farrokhzad-87/+87
2019-08-20Remove async_await gates from tests.Mazdak Farrokhzad-33/+0
2019-08-16bless you nllEduard-Mihai Burtescu-29/+29
2019-08-13bless tests with compare-mode=nllNiko Matsakis-121/+469
2019-08-12bless testsNiko Matsakis-11/+11
2019-08-12fix README.mdNiko Matsakis-5/+5
2019-08-12revamp how we handle elision in async fnNiko Matsakis-1512/+215
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: document conformance of 'async fn' to 'fn'.Mazdak Farrokhzad-0/+31
2019-08-08lifetime elision: add non-conforming-to-fn tests.Mazdak Farrokhzad-0/+2195
2019-08-08lifetime elision: add conforming-to-fn tests.Mazdak Farrokhzad-0/+341
2019-07-27arbitrary_self_types lifetime elision: --bless --compare-mode=nllTaiki Endo-0/+300
2019-07-27Fix typoTaiki Endo-1/+1
2019-07-27Add tests for `self: (&)AssocType`Taiki Endo-0/+124
2019-07-27Add test for multiple ref-selfTaiki Endo-7/+73
2019-07-27Minor clean upTaiki Endo-36/+25
2019-07-27Add main functions and check-pass annotationsTaiki Endo-20/+14
2019-07-27Update src/test/ui/self/elision/README.mdTaiki Endo-1/+1
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-07-27add a bevy of new test casesNiko Matsakis-0/+831