about summary refs log tree commit diff
path: root/src/test/ui/impl-trait/multiple-lifetimes
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-373/+0
2022-10-25Name impl trait in region bound suggestionMichael Goulet-2/+2
2022-07-26Use real opaque type instead of just saying impl TraitMichael Goulet-6/+6
2022-06-03Fully stabilize NLLJack Huey-9/+1
2022-05-22Use revisions for NLL in impl-traitJack Huey-2/+0
2022-03-28Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk"Oli Scherer-15/+18
This reverts commit 6499c5e7fc173a3f55b7a3bd1e6a50e9edef782d, reversing changes made to 78450d2d602b06d9b94349aaf8cece1a4acaf3a8.
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-18/+15
This reverts commit e7cc3bddbe0d0e374d05e7003e662bba1742dbae, reversing changes made to 734368a200904ef9c21db86c595dc04263c87be0.
2022-02-02Eagerly merge hidden types.Oli Scherer-4/+4
2022-02-02Register member constraints on the final merged hidden typeOli Scherer-32/+2
Previously we did this per hidden type candiate, which didn't always have all the information available.
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-17/+50
by using an opaque type obligation to bubble up comparisons between opaque types and other types Also uses proper obligation causes so that the body id works, because out of some reason nll uses body ids for logic instead of just diagnostics.
2021-12-17Fix typo in "new region bound" suggestionEsteban Kuber-2/+2
The lifetime name shoud always appear in text surrounded by `.
2021-10-18Remove regionck member constraint handling and leave it to mir borrowckOli Scherer-42/+12
2021-10-13Bless nll testsOli Scherer-10/+12
2021-10-13Remove explicit -Zborrowck=mir which does not affect test anymoreOli Scherer-6/+2
2021-10-13Remove a feature attribute for an accepted featureOli Scherer-2/+1
2021-10-13Use a label instead of a note for member constraint errorsOli Scherer-7/+3
2021-10-13Remove textual span from diagnostic stringOli Scherer-3/+3
2021-09-28Pick one possible lifetime in case there are multiple choicesOli Scherer-2/+10
2021-08-30`feature(const_generics)` -> `feature(const_param_types)`lcnr-19/+0
2021-08-03bless trivial polonius diagnostics changesRémy Rakic-1/+1
2021-07-27Remove min_tait and full_tait stderr dangling filesSantiago Pastorino-60/+0
2021-07-27Make all tests use type_alias_impl_trait feature instead of minSantiago Pastorino-7/+33
2021-07-27Use type_alias_impl_trait instead of min in compiler and libSantiago Pastorino-30/+10
2021-05-26bless compare-mode=nll outputNiko Matsakis-2/+2
2021-05-26stabilize member constraintsNiko Matsakis-31/+17
2021-03-15Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no ↵Oli Scherer-8/+61
actual changes in behaviour This makes `type_alias_impl_trait` not actually do anything anymore
2020-05-22Update testsMatthew Jasper-20/+8
2020-04-16reserve variable for empty root regionNiko Matsakis-2/+2
2020-03-30bless output of ui test impl-trait/multiple-lifetimes/error-handling.rsRemy Rakic-2/+5
Some impl Trait fixes lead to locating more accurately the cause of a universal region error with a user annotation
2020-02-14Update testsMatthew Jasper-9/+58
2020-02-14Explain a testMatthew Jasper-2/+9
2020-01-06Account for `type X = impl Trait;` in lifetime suggestionEsteban Küber-1/+1
2019-12-31Change wording for lifetime suggestion for opaque types from `constraint` to ↵Ohad Ravid-1/+1
`bound`
2019-12-06bless polonius output due to lacking the 'static special-casingRemy Rakic-0/+12
2019-10-27update testsMark Mansi-0/+1
2019-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+1
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
2019-09-08Update test stderr with results of enabling unused lintsMark Rousskov-1/+1
2019-08-10Fix calls to resolver from rustdoc and HIR loweringVadim Petrochenkov-1/+1
Cleanup some surrounding code. Support resolution of intra doc links in unnamed block scopes. (Paths from rustdoc now use early resolution and no longer need results of late resolution like all the built ribs.) Fix one test hitting file path limits on Windows.
2019-08-02Replace "existential" by "opaque"varkor-0/+0
2019-08-02Update syntax in existing testsvarkor-5/+5
2019-07-06Remove compile-pass from compiletestYuki Okushi-4/+4
Also change annotations in some tests
2019-07-02fix ICE with delay-span-bugNiko Matsakis-0/+18
2019-07-02address nitsNiko Matsakis-5/+5
2019-07-02more nits + typosNiko Matsakis-2/+2
2019-07-02feature-gate member constraints outside of async-awaitNiko Matsakis-7/+21
Minimizes risk.
2019-07-02bless test outputNiko Matsakis-6/+3
2019-07-02address nits by mattewjasperNiko Matsakis-33/+0
2019-07-02account for the pick-constraint edges when reporting errorsNiko Matsakis-0/+36
Also, thread through better span info to improve the error message to something tolerable.
2019-07-02test with explicit existential typeNiko Matsakis-0/+2
2019-07-02add a preliminary existential test; not really enoughNiko Matsakis-0/+29