about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-31173.rs
AgeCommit message (Collapse)AuthorLines
2023-01-04Move testsCaio-15/+0
2022-12-11Point at method call when it is the source of the bound errorEsteban Küber-2/+1
2022-08-21Rework point-at-argMichael Goulet-1/+1
2022-08-08Adjust wordingMichael Goulet-5/+6
2022-08-07Implement special-cased projection error message for some common traitsMichael Goulet-1/+1
2021-11-20Point at source of trait bound obligations in more placesEsteban Kuber-2/+0
Be more thorough in using `ItemObligation` and `BindingObligation` when evaluating obligations so that we can point at trait bounds that introduced unfulfilled obligations. We no longer incorrectly point at unrelated trait bounds (`substs-ppaux.verbose.stderr`). In particular, we now point at trait bounds on method calls. We no longer point at "obvious" obligation sources (we no longer have a note pointing at `Trait` saying "required by a bound in `Trait`", like in `associated-types-no-suitable-supertrait*`). Address part of #89418.
2021-01-26Avoid describing a method as 'not found' when bounds are unsatisfiedAaron Hill-1/+1
Fixes #76267 When there is a single applicable method candidate, but its trait bounds are not satisfied, we avoid saying that the method is "not found". Insted, we update the error message to directly mention which bounds are not satisfied, rather than mentioning them in a note.
2020-04-02tests: remove ignore directives from tests that mention core/alloc/std spans.Eduard-Mihai Burtescu-4/+0
2020-02-28Add more context to E0599 errorsEsteban Küber-0/+4
Point at the intermediary unfullfilled trait bounds.
2019-11-18Specific labels when referring to "expected" and "found" typesEsteban Küber-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+27