about summary refs log tree commit diff
path: root/src/test/ui/impl-trait/impl-generic-mismatch-ab.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-23/+0
2023-01-08Mention signature rather than fn pointers when comparing impl/trait methodsMichael Goulet-2/+2
2021-12-11Tweak assoc type obligation spansEsteban Kuber-3/+5
* Point at RHS of associated type in obligation span * Point at `impl` assoc type on projection error * Reduce verbosity of recursive obligations * Point at source of binding lifetime obligation * Tweak "required bound" note * Tweak "expected... found opaque (return) type" labels * Point at set type in impl assoc type WF errors
2021-04-08Suggest changing impl parameter types to match traitEsteban Küber-2/+4
This is particularly useful for cases where arbitrary self types are used, like in custom `Future`s.
2019-11-18Specific labels when referring to "expected" and "found" typesEsteban Küber-2/+2
2019-11-02Prettify mismatched types error message in a special caseDmitry Kadashev-4/+2
Type parameters are referenced in the error message after the previous few commits (using span label). But when the main error message already references the very same type parameter it becomes clumsy. Do not show the additional label in this case as per code review comment by @estebank. Also this contains a small style fix.
2019-11-02Update testsDmitry Kadashev-1/+5
Update the tests to reflect changes to how type mismatch errors are reported (two previous commits).
2019-09-18Add explanation to type mismatch involving type params and assoc typesEsteban Küber-0/+2
2018-12-25Remove licensesMark Rousskov-1/+1
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+15