rust/compiler/rustc_mir_transform/src
Matthias Krüger 0604cf5fd8
Rollup merge of #92207 - tmiasko:delay-drop-elaboration-bug, r=jackh726
Delay remaining `span_bug`s in drop elaboration

This follows changes from #67967 and converts remaining `span_bug`s into
delayed bugs, since for const items drop elaboration might be executed
on a MIR which failed borrowck.

Fixes #81708.
Fixes #91816.
2022-01-06 23:15:14 +01:00
..
coverage fix clippy::single_char_pattern perf findings 2021-12-14 12:40:28 +01:00
inline Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
abort_unwinding_calls.rs
add_call_guards.rs
add_moves_for_packed_drops.rs
add_retag.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
check_const_item_mutation.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
check_packed_ref.rs give more help in the unaligned_references lint 2021-12-09 16:48:51 -05:00
check_unsafety.rs Store a DefId instead of an AdtDef in AggregateKind::Adt 2021-12-22 14:36:34 -05:00
cleanup_post_borrowck.rs
const_debuginfo.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
const_goto.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
const_prop.rs rename StackPopClean::None to Root 2022-01-04 11:13:08 +01:00
deaggregator.rs
deduplicate_blocks.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
dest_prop.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
dump_mir.rs
early_otherwise_branch.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
elaborate_drops.rs Delay remaining span_bugs in drop elaboration 2021-12-22 21:32:06 +01:00
function_item_references.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
generator.rs Store a DefId instead of an AdtDef in AggregateKind::Adt 2021-12-22 14:36:34 -05:00
inline.rs Remove PartialOrd and Ord from LocalDefId 2021-12-22 10:50:57 -06:00
instcombine.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
lib.rs Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
lower_intrinsics.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
lower_slice_len.rs
marker.rs
match_branches.rs
multiple_return_terminators.rs
normalize_array_len.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
nrvo.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
pass_manager.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
remove_false_edges.rs
remove_noop_landing_pads.rs
remove_storage_markers.rs
remove_uninit_drops.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
remove_unneeded_drops.rs
remove_zsts.rs
required_consts.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
reveal_all.rs use try_normalize_erasing_regions in RevealAllVisitor 2021-12-13 23:13:24 +01:00
separate_const_switch.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
shim.rs Store a DefId instead of an AdtDef in AggregateKind::Adt 2021-12-22 14:36:34 -05:00
simplify_branches.rs Auto merge of #91279 - scottmcm:small-refactor, r=nagisa 2021-12-06 13:04:18 +00:00
simplify_comparison_integral.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
simplify_try.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
simplify.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00
uninhabited_enum_branching.rs
unreachable_prop.rs Remove in_band_lifetimes from rustc_mir_transform 2021-12-07 21:04:40 -08:00