rust/tests/ui/iterators
Jacob Pratt 5bd4e832d3
Rollup merge of #144553 - Oneirical:uncountable-integer-4, r=jieyouxu
Rehome 32 `tests/ui/issues/` tests to other subdirectories under `tests/ui/`

rust-lang/rust#143902 divided into smaller, easier to review chunks.

Part of rust-lang/rust#133895

Methodology:

1. Refer to the previously written `tests/ui/SUMMARY.md`
2. Find an appropriate category for the test, using the original issue thread and the test contents.
3. Add the issue URL at the bottom (not at the top, as that would mess up stderr line numbers)
4. Rename the tests to make their purpose clearer

Inspired by the methodology that `@Kivooeo` was using.

r? `@jieyouxu`
2025-08-10 15:43:52 -04:00
..
auxiliary Rehome tests/ui/issues/ tests [1/?] 2025-07-24 17:01:44 -04:00
array-of-ranges.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
array.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bound.rs
bound.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
bytes-iterator-clone-12677.rs comments 2025-07-31 21:25:49 +05:00
collect-into-array.rs
collect-into-array.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
collect-into-slice.rs On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
collect-into-slice.stderr Unimplement unsized_locals 2025-06-13 01:16:36 +02:00
explicit-deref-non-deref-type-15756.rs comments 2025-08-09 16:27:20 +05:00
explicit-deref-non-deref-type-15756.stderr comments 2025-08-09 16:27:20 +05:00
float_iterator_hint.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
float_iterator_hint.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
fold-iterator-error-23966.rs Rehome tests/ui/issues/ tests [3/?] 2025-08-04 16:43:53 -04:00
fold-iterator-error-23966.stderr Rehome tests/ui/issues/ tests [3/?] 2025-08-04 16:43:53 -04:00
for-loop-over-mut-iterator-21655.rs Rehome tests/ui/issues/ tests [4/?] 2025-08-10 11:54:15 -04:00
generator.rs Add iter macro 2025-06-03 10:52:32 -07:00
generator_args.rs Add iter macro 2025-06-03 10:52:32 -07:00
generator_capture.rs Add iter macro 2025-06-03 10:52:32 -07:00
generator_capture_.rs Add iter macro 2025-06-03 10:52:32 -07:00
generator_capture_.stderr Add iter macro 2025-06-03 10:52:32 -07:00
generator_capture_fail.rs Add iter macro 2025-06-03 10:52:32 -07:00
generator_capture_fail.stderr Add iter macro 2025-06-03 10:52:32 -07:00
generator_capture_fnonce.rs Add iter macro 2025-06-03 10:52:32 -07:00
generator_capture_no_lend.rs Add iter macro 2025-06-03 10:52:32 -07:00
generator_returned_from_fn.rs Add iter macro 2025-06-03 10:52:32 -07:00
generator_returned_from_fn.stderr Add iter macro 2025-06-03 10:52:32 -07:00
integral.rs
integral.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
into-iter-on-arrays-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
into-iter-on-arrays-2018.stderr future-incompat lints: don't link to the nightly edition-guide version 2025-07-16 01:44:02 -07:00
into-iter-on-arrays-2021.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
into-iter-on-arrays-lint.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
into-iter-on-arrays-lint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
into-iter-on-arrays-lint.stderr future-incompat lints: don't link to the nightly edition-guide version 2025-07-16 01:44:02 -07:00
into-iter-on-boxed-slices-2021.rs Implement BOXED_SLICE_INTO_ITER 2024-05-20 19:21:30 -04:00
into-iter-on-boxed-slices-2021.stderr future-incompat lints: don't link to the nightly edition-guide version 2025-07-16 01:44:02 -07:00
into-iter-on-boxed-slices-2024.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
into-iter-on-boxed-slices-lint.fixed Implement BOXED_SLICE_INTO_ITER 2024-05-20 19:21:30 -04:00
into-iter-on-boxed-slices-lint.rs Implement BOXED_SLICE_INTO_ITER 2024-05-20 19:21:30 -04:00
into-iter-on-boxed-slices-lint.stderr future-incompat lints: don't link to the nightly edition-guide version 2025-07-16 01:44:02 -07:00
into-iterator-type-inference-shift.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
invalid-iterator-chain-fixable.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid-iterator-chain-fixable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid-iterator-chain-fixable.stderr Trim output of E0277 in some cases 2024-11-02 03:08:04 +00:00
invalid-iterator-chain-with-int-infer.rs
invalid-iterator-chain-with-int-infer.stderr Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
invalid-iterator-chain.rs
invalid-iterator-chain.stderr Trim output of E0277 in some cases 2024-11-02 03:08:04 +00:00
issue-28098.rs Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-28098.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-58952-filter-type-length.rs Gate the type length limit check behind a nightly flag 2024-07-12 21:16:09 -04:00
iter-cloned-type-inference.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
iter-count-overflow-debug.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
iter-count-overflow-ndebug.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
iter-macro-not-async-closure-simplified.narrow.stderr Add iter macro 2025-06-03 10:52:32 -07:00
iter-macro-not-async-closure-simplified.rs Add iter macro 2025-06-03 10:52:32 -07:00
iter-macro-not-async-closure-simplified.wide.stderr Add iter macro 2025-06-03 10:52:32 -07:00
iter-macro-not-async-closure.narrow.stderr Add iter macro 2025-06-03 10:52:32 -07:00
iter-macro-not-async-closure.rs Add iter macro 2025-06-03 10:52:32 -07:00
iter-macro-not-async-closure.stderr Add iter macro 2025-06-03 10:52:32 -07:00
iter-map-fold-type-length.rs Re-implement a type-size based limit 2024-07-02 15:48:48 -04:00
iter-position-overflow-debug.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
iter-position-overflow-ndebug.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
iter-range.rs Remove some unnecessary parens in assert! conditions 2025-02-06 22:28:44 +00:00
iter-step-overflow-debug.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
iter-step-overflow-ndebug.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
iter-sum-overflow-debug.rs Add ignore-backends annotations in failing GCC backend ui tests 2025-07-23 13:48:04 +02:00
iter-sum-overflow-ndebug.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
iter-sum-overflow-overflow-checks.rs Add ignore-backends annotations in failing GCC backend ui tests 2025-07-23 13:48:04 +02:00
iterator-adapter-undeclared-type-49544.rs Rehome tests/ui/issues/ tests [1/?] 2025-07-24 17:01:44 -04:00
iterator-does-not-need-into-iter.rs Don't suggest .into_iter() on iterators 2024-11-08 17:43:13 -08:00
iterator-does-not-need-into-iter.stderr Don't suggest .into_iter() on iterators 2024-11-08 17:43:13 -08:00
iterator-type-inference-sum-15673.rs Rehome tests/ui/issues/ tests [2/?] 2025-08-02 15:29:16 -04:00
ranges.rs
ranges.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
rsplit-clone.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
skip-count-overflow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
string.rs
string.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
vec-on-unimplemented.fixed Be more lax in .into_iter() suggestion when encountering Iterator methods on non-Iterator 2024-03-03 18:53:36 +00:00
vec-on-unimplemented.rs Be more lax in .into_iter() suggestion when encountering Iterator methods on non-Iterator 2024-03-03 18:53:36 +00:00
vec-on-unimplemented.stderr Be more lax in .into_iter() suggestion when encountering Iterator methods on non-Iterator 2024-03-03 18:53:36 +00:00