about summary refs log tree commit diff
path: root/tests/ui/iterators
AgeCommit message (Collapse)AuthorLines
2023-11-24Show number in error message even for one errorNilstrieb-5/+5
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-14Special case iterator chain checks for suggestionEsteban Küber-0/+267
When encountering method call chains of `Iterator`, check for trailing `;` in the body of closures passed into `Iterator::map`, as well as calls to `<T as Clone>::clone` when `T` is a type param and `T: !Clone`. Fix #9082.
2023-10-04Reorder fullfillment errors to keep more interesting ones firstEsteban Küber-10/+10
In `report_fullfillment_errors` push back `T: Sized`, `T: WellFormed` and coercion errors to the end of the list. The pre-existing deduplication logic eliminates redundant errors better that way, keeping the resulting output with fewer errors than before, while also having more detail.
2023-10-02Point out the actual mismatch errorMichael Goulet-0/+2
2023-10-02For a single impl candidate, try to unify it with error trait refMichael Goulet-2/+2
2023-08-26More accurately point at argumentsEsteban Küber-12/+24
2023-06-27Don't sort strings right after we just sorted by typesMichael Goulet-6/+6
2023-06-09Ignore tests that hang in new solverMichael Goulet-0/+2
2023-05-15Give better error when collecting into `&[T]`Chayim Refael Friedman-1/+17
2023-03-03Add unuseless `#[allow(unused_allocation)]`Maybe Waffle-2/+2
2023-01-13Rollup merge of #106740 - petar-dambovaliev:float-iterator-hint, r=NilstriebYuki Okushi-0/+29
Adding a hint on iterator type errors Issue reference https://github.com/rust-lang/rust/issues/106728 - [x] add a case in the attribute - [x] add a test closes #106728
2023-01-12add note for float iteratorPetar Dambovaliev-0/+29
2023-01-11Handle inference variables in CollectAllMismatches correctlyMichael Goulet-0/+28
2023-01-11Move /src/test to /testsAlbert Larsan-0/+1434