rust/compiler/rustc_codegen_ssa/src
bors c5283576ec Auto merge of #108012 - compiler-errors:issue-107999, r=oli-obk
Don't ICE in `might_permit_raw_init` if reference is polymorphic

Emitting optimized MIR for a polymorphic function may require computing layout of a type that isn't (yet) known. This happens in the instcombine pass, for example. Let's fail gracefully in that condition.

cc `@saethlin`
fixes #107999
2023-02-15 20:56:07 +00:00
..
back Do not fetch HIR to compute symbols. 2023-02-14 20:27:36 +00:00
coverageinfo Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
debuginfo s/eval_usize/eval_target_usize/ for clarity 2023-02-14 08:51:19 +00:00
mir Auto merge of #108012 - compiler-errors:issue-107999, r=oli-obk 2023-02-15 20:56:07 +00:00
traits session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
base.rs s/eval_usize/eval_target_usize/ for clarity 2023-02-14 08:51:19 +00:00
codegen_attrs.rs ast: Optimize list and value extraction primitives for attributes 2023-02-01 22:35:02 +04:00
common.rs DELETE - fn span_invalid_monomorphization_error and localize intrinsics macros 2022-12-27 20:59:22 -05:00
errors.rs Rollup merge of #104543 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt3, r=davidtwco 2023-01-07 20:43:19 +01:00
glue.rs Add 0..=isize::MAX range metadata to size loads from vtables 2022-12-08 01:30:07 -05:00
lib.rs [link] enable packed bundled lib in non stable cases 2023-02-10 12:51:12 +03:00
meth.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
mono_item.rs Store a LocalDefId in hir::AnonConst. 2022-11-13 14:06:11 +00:00
target_features.rs Do not fetch HIR to check target features. 2023-02-14 20:27:38 +00:00