rust/tests/ui/cfg
Matthias Krüger a08ced3856
Rollup merge of #144151 - Kivooeo:issue1, r=jieyouxu
`tests/ui/issues/`: The Issues Strike Back [1/N]

I believe I’ve finally brought [my program](https://github.com/Kivooeo/test-manager) to life -- it now handles multiple test moves in one go: plain moves first, then a gentle touch on each file depends on given options. The process should be much smoother now.

Of course, I won’t rush through everything in a few days -- that would be unkind to `@Oneirical.` I’ll pace myself. And also I can't have more than one such PR because `issues.txt` will conflict with previous parts after merging them which is not fun as well.

This PR is just that: first commit - moves; second - regression comments and the occasional .stderr reblesses, also issue.txt and tidy changes. Nothing special, but progress nonetheless. This is for the purpose of preserving test file history during restructuring

Part of https://github.com/rust-lang/rust/issues/133895.

r? `@jieyouxu`
2025-07-28 08:36:51 +02:00
..
assume-incomplete-release Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
auxiliary Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-version Changes to diagnostics 2025-07-15 09:21:27 +02:00
both-true-false.rs Add more tests for cfg_boolean_literals 2025-04-03 18:10:48 +00:00
both-true-false.stderr Add more tests for cfg_boolean_literals 2025-04-03 18:10:48 +00:00
cfg-attr-cfg.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
cfg-attr-crate.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
cfg-false-feature.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-false-feature.stderr Add barest-bones deref patterns 2024-03-20 22:30:27 +01:00
cfg-false-use-item.rs cleaned up some tests 2025-06-11 20:51:49 +05:00
cfg-family.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
cfg-in-crate-1.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg-macros-foo.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg-macros-notfoo.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-match-arm.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-method-receiver-ok.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cfg-method-receiver.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-method-receiver.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
cfg-panic-abort.rs Add ignore-backends annotations in failing GCC backend ui tests 2025-07-23 13:48:04 +02:00
cfg-panic.rs Remove useless configs in tests 2024-04-07 01:16:45 +02:00
cfg-path-error.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg-path-error.stderr compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg-stmt-recovery.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-stmt-recovery.stderr Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-target-abi.rs Stabilize cfg_target_abi 2024-02-24 17:52:03 -03:00
cfg-target-compact-errors.rs Changes to diagnostics 2025-07-15 09:21:27 +02:00
cfg-target-compact-errors.stderr Changes to diagnostics 2025-07-15 09:21:27 +02:00
cfg-target-compact.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cfg-target-family.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
cfg-target-vendor.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cfg_attr.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg_false_no_std-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cfg_false_no_std-2.rs tests: fix a panic strategy in cfg_false_no_std-2.rs 2025-05-03 22:44:36 +08:00
cfg_false_no_std.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cfg_inner_static.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
cfg_stmt_expr.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfgs-on-items.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cmdline-false.rs Add more tests for cfg_boolean_literals 2025-04-03 18:10:48 +00:00
cmdline-false.stderr Add more tests for cfg_boolean_literals 2025-04-03 18:10:48 +00:00
conditional-compilation-struct-11085.rs comments 2025-07-25 20:38:54 +05:00
conditional-compile-arch.rs Fixes for Arm64EC 2025-07-13 15:01:48 -07:00
conditional-compile.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
crate-attributes-using-cfg_attr.rs Make deprecated_cfg_attr_crate_type_name a hard error 2024-10-05 04:29:46 +02:00
crate-attributes-using-cfg_attr.stderr Make deprecated_cfg_attr_crate_type_name a hard error 2024-10-05 04:29:46 +02:00
crt-static-off-works.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crt-static-on-works.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crt-static-with-target-features-works.rs tests: Add a regression test for crt-static with target features 2025-07-18 19:00:52 +02:00
crt-static-with-target-features-works.stderr tests: Add a regression test for crt-static with target features 2025-07-18 19:00:52 +02:00
diagnostics-cross-crate.rs When finding item gated behind a cfg flat, point at it 2024-07-12 18:52:52 +00:00
diagnostics-cross-crate.stderr Changes to diagnostics 2025-07-15 09:21:27 +02:00
diagnostics-not-a-def.rs RFC 2383: Stabilize lint_reasons 🎉 2024-06-25 17:22:22 +02:00
diagnostics-not-a-def.stderr RFC 2383: Stabilize lint_reasons 🎉 2024-06-25 17:22:22 +02:00
diagnostics-reexport-2.rs consider glob imports in cfg suggestion 2025-05-28 00:59:47 +08:00
diagnostics-reexport-2.stderr Changes to diagnostics 2025-07-15 09:21:27 +02:00
diagnostics-reexport.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
diagnostics-reexport.stderr Changes to diagnostics 2025-07-15 09:21:27 +02:00
diagnostics-same-crate.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
diagnostics-same-crate.stderr Changes to diagnostics 2025-07-15 09:21:27 +02:00
disallowed-cli-cfgs-allow.rs Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.debug_assertions_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.emscripten_wasm_eh_.stderr Add support for wasm exception handling to Emscripten target 2025-01-06 10:29:54 +01:00
disallowed-cli-cfgs.fmt_debug_.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
disallowed-cli-cfgs.overflow_checks_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.panic_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.proc_macro_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.reliable_f16_.stderr Implement the internal feature cfg_target_has_reliable_f16_f128 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.reliable_f16_math_.stderr Implement the internal feature cfg_target_has_reliable_f16_f128 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.reliable_f128_.stderr Implement the internal feature cfg_target_has_reliable_f16_f128 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.reliable_f128_math_.stderr Implement the internal feature cfg_target_has_reliable_f16_f128 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.relocation_model_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.rs Implement the internal feature cfg_target_has_reliable_f16_f128 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.sanitize_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.sanitizer_cfi_generalize_pointers_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.sanitizer_cfi_normalize_integers_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_abi_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_arch_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_endian_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_env_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_family_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_feature_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_has_atomic_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_has_atomic_equal_alignment_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_has_atomic_load_store_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_os_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_pointer_width_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_thread_local_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_vendor_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.ub_checks_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.unix_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.windows_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
expanded-cfg.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
nested-cfg-attr-conditional-compilation.rs cleaned up some tests 2025-07-01 15:29:29 +05:00
nested-cfg-attr-conditional-compilation.stderr cleaned up some tests 2025-07-01 15:29:29 +05:00
raw-true-false.rs Allow boolean literals in check-cfg 2025-04-03 09:54:23 +00:00
true-false.rs Stabilize cfg_boolean_literals 2025-04-03 18:10:48 +00:00