rust/compiler/rustc_symbol_mangling/src
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
..
typeid Auto merge of #123071 - rcvalle:rust-cfi-fix-method-fn-ptr-cast, r=compiler-errors 2024-03-29 09:04:05 +00:00
errors.rs Rename IntoDiagnostic as Diagnostic. 2024-03-11 09:15:09 +11:00
hashed.rs MCP #705: Provide the option -Csymbol-mangling-version=hashed -Z unstable-options to shorten symbol names by replacing them with a digest. 2024-01-26 12:39:03 +08:00
legacy.rs Only split by-ref/by-move futures for async closures 2024-03-19 16:59:23 -04:00
lib.rs CFI: Support arbitrary receivers 2024-03-24 22:46:48 +00:00
test.rs rename items -> free_items 2024-03-21 14:27:11 +01:00
typeid.rs CFI: Fix methods as function pointer cast 2024-03-27 16:19:17 -07:00
v0.rs Make RawPtr take Ty and Mutbl separately 2024-03-22 11:13:29 -04:00