about summary refs log tree commit diff
path: root/src/test/mir-opt/inline/inline_diverging.g.Inline.diff
AgeCommit message (Collapse)AuthorLines
2021-09-01Fix drop handling for `if let` expressionsMatthew Jasper-1/+1
MIR lowering for `if let` expressions is now more complicated now that `if let` exists in HIR. This PR adds a scope for the variables bound in an `if let` expression and then uses an approach similar to how we handle loops to ensure that we reliably drop the correct variables.
2021-05-17mir-opt bless for Size field being removed from AllocationRalf Jung-2/+2
2021-01-07Reintroduce hir::ExprKind::IfCaio-10/+10
2020-11-09Support inlining diverging function callsTomasz Miąsko-0/+52
Additionally introduce storage markers for all temporaries created by the inliner. The temporary introduced for destination rebrorrow, didn't use them previously.