mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
58dcd1fdb9
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`