rust/tests/ui/loops
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
..
dont-suggest-break-thru-item.rs Fix tests and bless 2024-04-24 13:12:33 +01:00
dont-suggest-break-thru-item.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
for-each-loop-panic.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
infinite-loop-simplify-cfg-75704.rs Rehome tests/ui/issues/ tests [3/?] 2025-08-04 16:43:53 -04:00
issue-1962.fixed Move some tests 2024-03-31 14:58:17 -03:00
issue-1962.rs Move some tests 2024-03-31 14:58:17 -03:00
issue-1962.stderr Move some tests 2024-03-31 14:58:17 -03:00
issue-1974.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-43162.rs Move tests 2024-03-03 16:30:48 -03:00
issue-43162.stderr Remove check_mod_loops query and run the checks per-body instead 2025-06-10 08:41:23 +00:00
issue-50576.rs Move tests 2023-02-16 11:42:35 -03:00
issue-50576.stderr Move tests 2023-02-16 11:42:35 -03:00
issue-69225-layout-repeated-checked-add.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
issue-69225-SCEVAddExpr-wrap-flag.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
issue-82916.rs
issue-82916.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
label-on-block-suggest-move.rs If a label is placed on the block of a loop instead of the header, suggest moving it to the header. 2025-03-17 01:59:37 -05:00
label-on-block-suggest-move.stderr If a label is placed on the block of a loop instead of the header, suggest moving it to the header. 2025-03-17 01:59:37 -05:00
loop-break-never-type-mismatch.rs cleaned up some tests 2025-06-04 17:48:50 +05:00
loop-break-never-type-mismatch.stderr cleaned up some tests 2025-06-04 17:48:50 +05:00
loop-break-unsize.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
loop-break-value-no-repeat.rs
loop-break-value-no-repeat.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
loop-break-value.rs Tweak value suggestions in borrowck and hir_analysis 2024-04-09 23:37:13 +00:00
loop-break-value.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
loop-else-break-with-value.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
loop-else-break-with-value.stderr Update tests for new TRPL chapter order 2024-11-23 08:57:25 -07:00
loop-else-err.rs recover from for-else and while-else 2023-03-01 13:26:59 +01:00
loop-else-err.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
loop-else-let-else-err.rs recover from for-else and while-else 2023-03-01 13:26:59 +01:00
loop-else-let-else-err.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
loop-if-else-break-issue-123261.fixed For OutsideLoop we should not suggest add 'block label in if block, or we wiil get another err: block label not supported here. 2024-05-22 19:47:32 +08:00
loop-if-else-break-issue-123261.rs For OutsideLoop we should not suggest add 'block label in if block, or we wiil get another err: block label not supported here. 2024-05-22 19:47:32 +08:00
loop-if-else-break-issue-123261.stderr For OutsideLoop we should not suggest add 'block label in if block, or we wiil get another err: block label not supported here. 2024-05-22 19:47:32 +08:00
loop-labeled-break-value.rs
loop-labeled-break-value.stderr Tweak value suggestions in borrowck and hir_analysis 2024-04-09 23:37:13 +00:00
loop-no-implicit-break.rs
loop-no-implicit-break.stderr
loop-proper-liveness.rs
loop-proper-liveness.stderr Handle more cases of value suggestions 2024-04-10 20:36:14 +00:00
loop-properly-diverging-2.rs
loop-properly-diverging-2.stderr Tweak value suggestions in borrowck and hir_analysis 2024-04-09 23:37:13 +00:00
loop-with-label-9047.rs Rehome tests/ui/issues/ tests [4/?] 2025-08-10 11:54:15 -04:00