rust/tests/ui/iterators
Esteban Küber 6d23ee8430 Special case iterator chain checks for suggestion
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-14 04:11:54 +00:00
..
array-of-ranges.rs
array.rs
bound.rs
bound.stderr
collect-into-array.rs
collect-into-array.stderr
collect-into-slice.rs Give better error when collecting into &[T] 2023-05-15 21:16:35 +03:00
collect-into-slice.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
float_iterator_hint.rs add note for float iterator 2023-01-12 15:29:53 +01:00
float_iterator_hint.stderr add note for float iterator 2023-01-12 15:29:53 +01:00
integral.rs
integral.stderr add note for float iterator 2023-01-12 15:29:53 +01:00
into-iter-on-arrays-2018.rs
into-iter-on-arrays-2018.stderr
into-iter-on-arrays-2021.rs
into-iter-on-arrays-lint.fixed Add unuseless #[allow(unused_allocation)] 2023-03-03 17:47:48 +00:00
into-iter-on-arrays-lint.rs Add unuseless #[allow(unused_allocation)] 2023-03-03 17:47:48 +00:00
into-iter-on-arrays-lint.stderr
into-iterator-type-inference-shift.rs
invalid-iterator-chain-fixable.fixed Special case iterator chain checks for suggestion 2023-10-14 04:11:54 +00:00
invalid-iterator-chain-fixable.rs Special case iterator chain checks for suggestion 2023-10-14 04:11:54 +00:00
invalid-iterator-chain-fixable.stderr Special case iterator chain checks for suggestion 2023-10-14 04:11:54 +00:00
invalid-iterator-chain-with-int-infer.rs
invalid-iterator-chain-with-int-infer.stderr More accurately point at arguments 2023-08-26 19:25:46 +00:00
invalid-iterator-chain.rs
invalid-iterator-chain.stderr Special case iterator chain checks for suggestion 2023-10-14 04:11:54 +00:00
issue-28098.rs
issue-28098.stderr
issue-58952-filter-type-length.rs Ignore tests that hang in new solver 2023-06-09 21:57:37 +00:00
iter-cloned-type-inference.rs
iter-count-overflow-debug.rs
iter-count-overflow-ndebug.rs
iter-map-fold-type-length.rs
iter-position-overflow-debug.rs
iter-position-overflow-ndebug.rs
iter-range.rs
iter-step-overflow-debug.rs
iter-step-overflow-ndebug.rs
iter-sum-overflow-debug.rs
iter-sum-overflow-ndebug.rs
iter-sum-overflow-overflow-checks.rs
ranges.rs
ranges.stderr
rsplit-clone.rs
skip-count-overflow.rs
string.rs
string.stderr
vec-on-unimplemented.rs
vec-on-unimplemented.stderr