diff options
| author | Matthew Maurer <mmaurer@google.com> | 2024-04-08 16:37:06 +0000 |
|---|---|---|
| committer | Matthew Maurer <mmaurer@google.com> | 2024-04-08 17:00:18 +0000 |
| commit | 284da5d6b44ffaf22db50f4c30f5d941a471b26c (patch) | |
| tree | 6b59ac6373ea37d239a232b4ad58f8debb86f508 /compiler/rustc_trait_selection | |
| parent | ab3dba92db355b8d97db915a2dca161a117e959c (diff) | |
| download | rust-284da5d6b44ffaf22db50f4c30f5d941a471b26c.tar.gz rust-284da5d6b44ffaf22db50f4c30f5d941a471b26c.zip | |
CFI: Fix ICE in KCFI non-associated function pointers
We oddly weren't testing the more usual case of casting non-methods to function pointers. The KCFI shim insertion logic would ICE on these due to asking for an irrefutable associated item if we cast a function to a function pointer without needing a traditional shim.
Diffstat (limited to 'compiler/rustc_trait_selection')
0 files changed, 0 insertions, 0 deletions
