rust/compiler/rustc_mir/src
Camelid c3f7429fb4 Use better ICE message when no MIR is available
The ICE message is somewhat confusing and overly specific - the issue is
that there's no MIR available.

This should make debugging these ICEs easier since the error tells you
what's actually wrong, not what it was trying to do when it failed.

cc https://github.com/rust-lang/rust/pull/80952#issuecomment-759198841
2021-01-12 20:54:35 -08:00
..
borrow_check Change wording of note 2021-01-08 14:57:35 -05:00
const_eval Auto merge of #78407 - oli-obk:ub_checkable_ctfe, r=RalfJung,pnkfelix 2021-01-12 17:26:56 +00:00
dataflow Switch compiler/ to intra-doc links 2020-12-18 15:22:51 -05:00
interpret Auto merge of #78407 - oli-obk:ub_checkable_ctfe, r=RalfJung,pnkfelix 2021-01-12 17:26:56 +00:00
monomorphize Use better ICE message when no MIR is available 2021-01-12 20:54:35 -08:00
transform Auto merge of #78407 - oli-obk:ub_checkable_ctfe, r=RalfJung,pnkfelix 2021-01-12 17:26:56 +00:00
util --emit=mir now emits both mir_for_ctfe and optimized_mir for const fn 2021-01-11 17:24:41 +00:00
lib.rs Dogfood 'str_split_once() with compiler/ 2020-12-07 12:48:44 -07:00
shim.rs Support building clone shims for arrays with generic size 2020-11-21 00:00:00 +00:00