about summary refs log tree commit diff
path: root/src/test/ui/hrtb
AgeCommit message (Collapse)AuthorLines
2019-04-22update tests for migrate mode by defaultMatthew Jasper-48/+6
2019-03-17Updated UI test output to remove test annotations for revisionsMathias Blikstad-3/+3
2019-03-11Update NLL testsVadim Petrochenkov-1/+1
2019-03-11Update testsVadim Petrochenkov-12/+12
2019-02-21update test files to reflect new outputNiko Matsakis-48/+183
One surprise: old-lub-glb-object.rs, may indicate a bug
2019-02-21restore the actual leak-checkNiko Matsakis-0/+84
2019-02-15fix tests post-rebaseFelix S. Klock II-7/+7
2019-01-28Refer to synthetically named lifetimes as "some specific lifetime" rather ↵Rémy Rakic-6/+6
than "the specific lifetime"
2019-01-27When mentioning lifetimes, put either the trait ref or the self type closer ↵Rémy Rakic-10/+10
to the lifetimes When mentioning lifetimes, only invert wording between the expected trait and the self type when the self type has the vid. This way, the lifetimes always stay close to the self type or trait ref that actually contains them.
2019-01-27Update test expectations for new placeholder error messagesRemy Rakic-16/+16
2019-01-27Update two E308 tests to the new placeholder errorlqd-1/+1
2019-01-02address tmandry nitsNiko Matsakis-10/+5
2019-01-02improve handling for subtypeNiko Matsakis-87/+19
Still not great, but good enough to land this PR.
2019-01-02say "the lifetime" instead of "some lifetime" when it feels rightNiko Matsakis-1/+1
In particular, when we want to indicate that there is a connection between the self type and the other types.
2019-01-02apply the same logic to ConcreteFailure errorsNiko Matsakis-7/+5
2019-01-02apply the new placeholder errors even with just one placeholderNiko Matsakis-8/+20
2019-01-02introduce placeholder-placeholder errors for trait matchingNiko Matsakis-16/+10
2019-01-02tests: worse diagnostics, but basically same errorsNiko Matsakis-105/+111
2019-01-02add tests exercising `exists<'a> { forall<'b> { .. } }` patternNiko Matsakis-0/+163
Amazingly, this scenario was not tested for trait matching.
2019-01-02make evaluation track whether outlives relationships matteredNiko Matsakis-0/+41
Previously, evaluation ignored outlives relationships. Since we using evaluation to skip the "normal" trait selection (which enforces outlives relationships) this led to incorrect results in some cases.
2018-12-25Remove licensesMark Rousskov-87/+17
2018-10-03Clearer later use messages for callsMatthew Jasper-1/+1
Give a special message when the later use is from a call. Use the span of the callee instead of the whole expression. For conflicting borrow messages say that the later use is of the first borrow.
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+517