rust/tests/ui/abi
Stuart Cook 9c73bcfa8d
Rollup merge of #130225 - adetaylor:rename-old-receiver, r=wesleywiser
Rename Receiver -> LegacyReceiver

As part of the "arbitrary self types v2" project, we are going to replace the current `Receiver` trait with a new mechanism based on a new, different `Receiver` trait.

This PR renames the old trait to get it out the way. Naming is hard. Options considered included:
* HardCodedReceiver (because it should only be used for things in the standard library, and hence is sort-of hard coded)
* LegacyReceiver
* TargetLessReceiver
* OldReceiver

These are all bad names, but fortunately this will be temporary. Assuming the new mechanism proceeds to stabilization as intended, the legacy trait will be removed altogether.

Although we expect this trait to be used only in the standard library, we suspect it may be in use elsehwere, so we're landing this change separately to identify any surprising breakages.

It's known that this trait is used within the Rust for Linux project; a patch is in progress to remove their dependency.

This is a part of the arbitrary self types v2 project,
https://github.com/rust-lang/rfcs/pull/3519
https://github.com/rust-lang/rust/issues/44874

r? `@wesleywiser`
2024-10-24 14:19:53 +11:00
..
cross-crate Remove libc from rust_get_test_int uses 2024-04-17 09:18:14 -04:00
extern Clean up users of rust_dbg_call 2024-04-17 15:08:08 -04:00
foreign Clean up users of rust_dbg_call 2024-04-17 15:08:08 -04: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 Ensure tests don't fail on i586 in CI 2024-07-01 17:39:30 +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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
abi-typo-unstable.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
anon-extern-mod.rs Remove libc from rust_get_test_int uses 2024-04-17 09:18:14 -04:00
arm-unadjusted-intrinsic.rs Ban non-array SIMD 2024-09-09 19:39:43 -07:00
c-stack-as-value.rs Remove libc from rust_get_test_int uses 2024-04-17 09:18:14 -04:00
c-stack-returning-int64.rs Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
c-zst.other-linux.stderr Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
c-zst.other.stderr Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
c-zst.powerpc-linux.stderr Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
c-zst.rs Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
c-zst.s390x-linux.stderr Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
c-zst.sparc64-linux.stderr Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
c-zst.x86_64-pc-windows-gnu.stderr Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
cabi-int-widening.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
compatibility.rs Rollup merge of #130225 - adetaylor:rename-old-receiver, r=wesleywiser 2024-10-24 14:19:53 +11:00
debug.rs Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
debug.stderr Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
explicit_repr_rust.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fixed_x18.rs Simplify check for unsupported architectures 2024-05-29 16:58:46 +02:00
homogenous-floats-target-feature-mixup.rs Ban non-array SIMD 2024-09-09 19:39:43 -07:00
issue-28676.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
large-byval-align.rs Crash test for issue 121444 has been fixed 2024-07-30 10:22:48 +02:00
lib-defaults.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -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
removed-wasm-abi.rs Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00
removed-wasm-abi.stderr Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00
riscv32e-registers.riscv32e.stderr Add UI test to verify invalid loads are not generated 2024-10-05 12:19:20 +03:00
riscv32e-registers.riscv32em.stderr Add UI test to verify invalid loads are not generated 2024-10-05 12:19:20 +03:00
riscv32e-registers.riscv32emc.stderr Add UI test to verify invalid loads are not generated 2024-10-05 12:19:20 +03:00
riscv32e-registers.rs Add UI test to verify invalid loads are not generated 2024-10-05 12:19:20 +03:00
riscv-discoverability-guidance.riscv32.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
riscv-discoverability-guidance.riscv64.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
riscv-discoverability-guidance.rs llvm: update riscv target feature to match LLVM 19 2024-04-17 16:15:24 -04: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 Remove libc from more tests 2024-04-17 08:36:49 -04:00
shadow-call-stack-without-fixed-x18.rs unconditionally allow shadow call-stack for AArch64 whenever fixed-x18 is applied 2024-08-09 19:35:02 +08:00
stack-probes-lto.rs Update the minimum external LLVM to 18 2024-09-18 13:53:31 -07:00
stack-probes.rs Update the minimum external LLVM to 18 2024-09-18 13:53:31 -07:00
stack-protector.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
sysv64-zst.rs Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
sysv64-zst.stderr Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
unsized-args-in-c-abi-issues-94223-115845.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unsupported.aarch64.stderr make unsupported_calling_conventions a hard error 2024-10-20 15:22:21 +02:00
unsupported.arm.stderr make unsupported_calling_conventions a hard error 2024-10-20 15:22:21 +02:00
unsupported.i686.stderr make unsupported_calling_conventions a hard error 2024-10-20 15:22:21 +02:00
unsupported.riscv32.stderr make unsupported_calling_conventions a hard error 2024-10-20 15:22:21 +02:00
unsupported.riscv64.stderr make unsupported_calling_conventions a hard error 2024-10-20 15:22:21 +02:00
unsupported.rs make unsupported_calling_conventions a hard error 2024-10-20 15:22:21 +02:00
unsupported.x64.stderr make unsupported_calling_conventions a hard error 2024-10-20 15:22:21 +02:00
variadic-ffi.rs Allow "C-unwind" fn to have C variadics 2024-06-22 15:14:14 -07:00
win64-zst.other.stderr Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
win64-zst.rs Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
win64-zst.windows-gnu.stderr Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
x86stdcall2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
x86stdcall.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00