rust/compiler/rustc_middle/src
bors a3bc0e752f Auto merge of #75346 - davidtwco:issue-69925-polymorphic-instancedef-fnptrshim, r=nikomatsakis
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`
2020-09-20 04:15:43 +00:00
..
dep_graph mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
hir mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
ich mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
infer improve const infer err 2020-09-14 10:08:32 +02:00
middle pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
mir Rollup merge of #76636 - RalfJung:miri-size-assert, r=oli-obk 2020-09-19 11:47:49 +02:00
query use abstract consts when unifying ConstKind::Unevaluated 2020-09-18 17:11:34 +02:00
traits Auto merge of #75608 - estebank:suggest-boxed-match-exprs, r=lcnr,varkor 2020-09-14 19:57:57 +00:00
ty Auto merge of #75346 - davidtwco:issue-69925-polymorphic-instancedef-fnptrshim, r=nikomatsakis 2020-09-20 04:15:43 +00:00
util mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
arena.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs datastructures: replace once_cell crate with an impl from std 2020-08-30 20:06:14 +01:00
lint.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
macros.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00