mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 00:07:42 +03:00
a3bc0e752f
shim: monomorphic `FnPtrShim`s during construction Fixes #69925. This PR adjusts MIR shim construction so that substitutions are applied to function pointer shims during construction, rather than during codegen (as determined by `substs_for_mir_body`). r? `@eddyb`