rust/tests/ui/sanitizer
bors 58dcd1fdb9 Auto merge of #123071 - rcvalle:rust-cfi-fix-method-fn-ptr-cast, r=compiler-errors
CFI: Fix methods as function pointer cast

Fix casting between methods and function pointers by assigning a secondary type id to methods with their concrete self so they can be used as function pointers.

This was split off from #116404.

cc `@compiler-errors` `@workingjubilee`
2024-03-29 09:04:05 +00:00
..
address.rs
badfree.rs
cfg-kasan.rs
cfg.rs
cfi-assoc-ty-lifetime-issue-123053.rs CFI: Pad out associated type resolution with erased lifetimes 2024-03-25 22:46:21 +00:00
cfi-canonical-jump-tables-requires-cfi.rs
cfi-canonical-jump-tables-requires-cfi.stderr
cfi-closure-fn-ptr-cast.rs CFI: Enable KCFI testing of run-pass tests 2024-03-26 03:16:41 +00:00
cfi-complex-receiver.rs CFI: Enable KCFI testing of run-pass tests 2024-03-26 03:16:41 +00:00
cfi-drop-in-place.rs CFI: Fix drop and drop_in_place 2024-03-27 12:52:14 -07:00
cfi-drop-no-principal.rs CFI: Handle dyn with no principal 2024-03-24 16:58:33 +00:00
cfi-generalize-pointers-attr-cfg.rs
cfi-generalize-pointers-requires-cfi.rs
cfi-generalize-pointers-requires-cfi.stderr
cfi-invalid-attr-cfi-encoding.rs
cfi-invalid-attr-cfi-encoding.stderr
cfi-is-incompatible-with-kcfi.aarch64.stderr
cfi-is-incompatible-with-kcfi.rs
cfi-is-incompatible-with-kcfi.x86_64.stderr
cfi-method-fn-ptr-cast.rs CFI: Fix methods as function pointer cast 2024-03-27 16:19:17 -07:00
cfi-normalize-integers-attr-cfg.rs
cfi-normalize-integers-requires-cfi.rs
cfi-normalize-integers-requires-cfi.stderr
cfi-requires-lto.rs
cfi-requires-lto.stderr
cfi-self-ref.rs CFI: Enable KCFI testing of run-pass tests 2024-03-26 03:16:41 +00:00
cfi-virtual-auto.rs CFI: Enable KCFI testing of run-pass tests 2024-03-26 03:16:41 +00:00
cfi-with-rustc-lto-requires-single-codegen-unit.rs
cfi-with-rustc-lto-requires-single-codegen-unit.stderr
crt-static.rs
crt-static.stderr
dataflow-abilist.txt
dataflow.rs
hwaddress.rs
incompatible.rs
incompatible.stderr
inline-always.rs
inline-always.stderr
issue-72154-address-lifetime-markers.rs
issue-111184-cfi-coroutine-witness.rs
issue-114275-cfi-const-expr-in-arry-len.rs
leak.rs
memory-eager.rs
memory-passing.rs
memory.rs
new-llvm-pass-manager-thin-lto.rs
split-lto-unit-requires-lto.rs
split-lto-unit-requires-lto.stderr
thread.rs
unsupported-target.rs
unsupported-target.stderr
use-after-scope.rs