about summary refs log tree commit diff
path: root/tests/ui/nll/relate_tys
AgeCommit message (Collapse)AuthorLines
2025-04-22Add tests for two untested cases of placeholder relationsAmanda Stjerna-0/+56
During work on #130227, I discovered several situations not covered by any previously existing UI test. This commit introudces tests to cover that.
2025-01-06`best_blame_constraint`: don't filter constraints by sup SCCdianne-3/+4
The SCCs of the region graph are not a reliable heuristic to use for blaming an interesting constraint for diagnostics. For region errors, if the outlived region is `'static`, or the involved types are invariant in their lifetiems, there will be cycles in the constraint graph containing both the target region and the most interesting constraints to blame. To get better diagnostics in these cases, this commit removes that heuristic.
2024-02-29Make nll higher ranked equate use bidirectional subtyping in invariant contextSantiago Pastorino-2/+25
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-10/+10
2023-12-07recurse into refs when comparing tys for diagnosticsjyn-6/+6
2023-11-24Show number in error message even for one errorNilstrieb-5/+5
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-0/+2
2023-05-21Rename `drop_copy` lint to `dropping_copy_types`Urgau-1/+1
2023-05-10Adjust tests for new drop and forget lintsUrgau-0/+2
2023-01-15Tweak E0597Esteban Küber-0/+3
CC #99430
2023-01-11Move /src/test to /testsAlbert Larsan-0/+307