rust/tests/codegen/sanitizer
Adrian Taylor 8f85b90ca6 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-22 12:55:16 +00:00
..
cfi Add missing module flags for CFI and KCFI sanitizers 2024-08-21 20:23:56 +00:00
kcfi Rename Receiver -> LegacyReceiver 2024-10-22 12:55:16 +00:00
aarch64-shadow-call-stack-with-fixed-x18.rs unconditionally allow shadow call-stack for AArch64 whenever fixed-x18 is applied 2024-08-09 19:35:02 +08:00
address-sanitizer-globals-tracking.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
dataflow-instrument-functions.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
kasan-emits-instrumentation.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
memory-track-origins.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
memtag-attr-check.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
no-sanitize-inlining.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
no-sanitize.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
riscv64-shadow-call-stack.rs riscv64imac: allow shadow call stack sanitizer 2024-08-29 21:48:48 +08:00
safestack-attr-check.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
sanitizer-recover.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
scs-attr-check.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00