rust/tests/ui/abi
Jacob Pratt 82bb6d523b
Rollup merge of #145896 - Oneirical:uncountable-integer-10, r=jieyouxu
Rehome 30 `tests/ui/issues/` tests to other subdirectories under `tests/ui/` [#3 of Batch #2]

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-09-13 03:26:02 -04:00
..
cross-crate tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
extern tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
foreign tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issues Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
mir Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
numbers-arithmetic Fix RISC-V C function ABI when passing/returning structs containing floats 2025-06-16 10:14:07 +01:00
statics Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
struct-enums Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
union Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
abi-sysv64-arg-passing.rs Enable more tests on Windows 2025-02-03 10:39:32 -05:00
abi-sysv64-register-usage.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
abi-typo-unstable.feature_disabled.stderr update/bless tests 2025-04-06 21:41:47 +02:00
abi-typo-unstable.feature_enabled.stderr update/bless tests 2025-04-06 21:41:47 +02:00
abi-typo-unstable.rs update/bless tests 2025-04-06 21:41:47 +02:00
anon-extern-mod.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
arm-unadjusted-intrinsic.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
bad-custom.rs Error on invalid signatures for interrupt ABIs 2025-06-24 14:40:11 +02:00
bad-custom.stderr setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
c-stack-as-value.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
c-stack-returning-int64.rs Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
c-zst.aarch64-darwin.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
c-zst.powerpc-linux.stderr Use captures(address) instead of captures(none) for indirect args 2025-08-26 16:16:23 +02:00
c-zst.rs use add-core-stubs / minicore for a few more tests 2025-02-16 18:37:50 +01:00
c-zst.s390x-linux.stderr Use captures(address) instead of captures(none) for indirect args 2025-08-26 16:16:23 +02:00
c-zst.sparc64-linux.stderr Use captures(address) instead of captures(none) for indirect args 2025-08-26 16:16:23 +02:00
c-zst.x86_64-linux.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
c-zst.x86_64-pc-windows-gnu.stderr Use captures(address) instead of captures(none) for indirect args 2025-08-26 16:16:23 +02:00
cabi-int-widening.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
cannot-be-called.avr.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-called.i686.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-called.msp430.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-called.riscv32.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-called.riscv64.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-called.rs Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-called.x64.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-called.x64_win.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-coroutine.avr.stderr setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
cannot-be-coroutine.i686.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-coroutine.msp430.stderr setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
cannot-be-coroutine.riscv32.stderr setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
cannot-be-coroutine.riscv64.stderr setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
cannot-be-coroutine.rs Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-coroutine.x64.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
cannot-be-coroutine.x64_win.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
compatibility.rs Remove redundant min-llvm-version annotations for LoongArch tests 2025-05-01 08:50:14 +08:00
custom.rs add extern "custom" functions 2025-06-12 20:27:10 +02:00
debug.generic.stderr Use captures(address) instead of captures(none) for indirect args 2025-08-26 16:16:23 +02:00
debug.loongarch64.stderr Use captures(address) instead of captures(none) for indirect args 2025-08-26 16:16:23 +02:00
debug.riscv64.stderr Use captures(address) instead of captures(none) for indirect args 2025-08-26 16:16:23 +02:00
debug.rs Fix the ABI parameter inconsistency issue in debug.rs for LoongArch64 2025-08-21 20:04:02 +08:00
explicit_repr_rust.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-c-two-doubles-x86_64-5754.rs Rehome tests/ui/issues/ tests [3/?] 2025-08-04 16:43:53 -04:00
fixed_x18.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
homogenous-floats-target-feature-mixup.rs Remove uses of #[feature(avx512_target_feature)] 2025-05-18 11:12:25 +05:30
interrupt-invalid-signature.avr.stderr tests: add test for invalid interrupt signatures 2025-06-27 11:04:04 -07:00
interrupt-invalid-signature.i686.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
interrupt-invalid-signature.msp430.stderr tests: add test for invalid interrupt signatures 2025-06-27 11:04:04 -07:00
interrupt-invalid-signature.riscv32.stderr tests: add test for invalid interrupt signatures 2025-06-27 11:04:04 -07:00
interrupt-invalid-signature.riscv64.stderr tests: add test for invalid interrupt signatures 2025-06-27 11:04:04 -07:00
interrupt-invalid-signature.rs Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
interrupt-invalid-signature.x64.stderr Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
interrupt-returns-never-or-unit.rs Enforce correct number of arguments for "x86-interrupt" functions 2025-08-20 18:03:57 +03:00
invalid-call-abi-ctfe.rs Taint body on invalid call ABI 2025-06-24 22:43:00 +00:00
invalid-call-abi-ctfe.stderr Taint body on invalid call ABI 2025-06-24 22:43:00 +00:00
invalid-call-abi.rs Add rust-invalid ABI 2025-06-24 22:34:30 +00:00
invalid-call-abi.stderr Add rust-invalid ABI 2025-06-24 22:34:30 +00:00
invalid-self-parameter-type-56806.rs Add test batch 3 2025-09-12 14:45:12 -04:00
invalid-self-parameter-type-56806.stderr Add test batch 3 2025-09-12 14:45:12 -04:00
issue-28676.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
large-byval-align.rs Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
nullable-pointer-ffi-compat.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
relocation_model_pic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
riscv-discoverability-guidance.riscv32.stderr Rollup merge of #137771 - estebank:abi-sugg, r=compiler-errors 2025-03-01 05:49:56 +01:00
riscv-discoverability-guidance.riscv64.stderr Rollup merge of #137771 - estebank:abi-sugg, r=compiler-errors 2025-03-01 05:49:56 +01:00
riscv-discoverability-guidance.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
rust-cold-works-with-rustic-args.rs minicore: use core's diagnostic::on_unimplemented messages 2025-07-03 10:22:40 +02:00
rustcall-generic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
segfault-no-out-of-stack.rs Insert null checks for pointer dereferences when debug assertions are enabled 2025-01-31 11:13:34 +00:00
shadow-call-stack-without-fixed-x18.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
simd-abi-checks-avx.rs Remove uses of #[feature(avx512_target_feature)] 2025-05-18 11:12:25 +05:30
simd-abi-checks-avx.stderr Remove uses of #[feature(avx512_target_feature)] 2025-05-18 11:12:25 +05:30
simd-abi-checks-empty-list.rs make abi_unsupported_vector_types a hard error 2025-04-20 11:34:56 +02:00
simd-abi-checks-empty-list.stderr make abi_unsupported_vector_types a hard error 2025-04-20 11:34:56 +02:00
simd-abi-checks-s390x.rs s390x: mark soft-float target feature as incompatible 2025-09-10 22:47:29 +02:00
simd-abi-checks-s390x.z10.stderr s390x: mark soft-float target feature as incompatible 2025-09-10 22:47:29 +02:00
simd-abi-checks-s390x.z13_no_vector.stderr s390x: mark soft-float target feature as incompatible 2025-09-10 22:47:29 +02:00
simd-abi-checks-s390x.z13_soft_float.stderr s390x: mark soft-float target feature as incompatible 2025-09-10 22:47:29 +02:00
simd-abi-checks-sse.rs make abi_unsupported_vector_types a hard error 2025-04-20 11:34:56 +02:00
simd-abi-checks-sse.stderr make abi_unsupported_vector_types a hard error 2025-04-20 11:34:56 +02:00
sparcv8plus-llvm19.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus-llvm19.sparc.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus-llvm19.sparc_cpu_v9.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus-llvm19.sparc_cpu_v9_feature_v8plus.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus-llvm19.sparc_feature_v8plus.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus-llvm19.sparcv8plus.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus.sparc.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus.sparc_cpu_v9.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus.sparc_cpu_v9_feature_v8plus.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus.sparc_feature_v8plus.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
sparcv8plus.sparcv8plus.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
stack-probes-lto.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
stack-probes.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
stack-protector.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
sysv64-zst.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
sysv64-zst.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
unsized-args-in-c-abi-issues-94223-115845.rs Delete tuple unsizing 2025-02-27 10:26:33 +00:00
unsupported-abi-transmute.rs tests: migrate unsupported-abi-transmute.rs to extern "rust-invalid" 2025-06-25 00:54:02 -07:00
unsupported-abi-transmute.stderr tests: migrate unsupported-abi-transmute.rs to extern "rust-invalid" 2025-06-25 00:54:02 -07:00
unsupported-in-impls.rs tests: migrate unsupported-abi-transmute.rs to extern "rust-invalid" 2025-06-25 00:54:02 -07:00
unsupported-in-impls.stderr tests: split out unsupported-in-impls.rs 2025-06-25 00:54:02 -07:00
unsupported-varargs-fnptr.rs stabilize extended_varargs_abi_support 2025-09-02 08:48:12 +02:00
unsupported-varargs-fnptr.stderr stabilize extended_varargs_abi_support 2025-09-02 08:48:12 +02:00
unsupported.aarch64.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
unsupported.arm.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
unsupported.i686.stderr tests: bless s/C-cmse/cmse/ 2025-06-25 00:52:11 -07:00
unsupported.riscv32.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
unsupported.riscv64.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
unsupported.rs Rollup merge of #142992 - workingjubilee:dont-validate-naughty-abis, r=jieyouxu 2025-06-25 22:14:56 +02:00
unsupported.x64.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
unsupported.x64_win.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
variadic-ffi.rs Allow "C-unwind" fn to have C variadics 2024-06-22 15:14:14 -07:00
vectorcall-abi-checks.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
vectorcall-abi-checks.stderr vectorcall ABI: error if sse2 is not available 2025-02-20 12:40:58 +01:00
x86stdcall.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
x86stdcall2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00