about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/thir.rs
AgeCommit message (Collapse)AuthorLines
2021-09-09rename mir -> thir around abstract constsEllen-243/+3
2021-09-09move thir visitor to rustc_middleEllen-0/+243
2021-09-01Fix drop handling for `if let` expressionsMatthew Jasper-0/+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-08-25Various pattern cleanupsLéo Lanteri Thauvin-12/+4
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-0/+4
2021-06-22Add documentation for various THIR structsLeSeulArtichaut-35/+109
2021-06-21Fix unused_unsafe with compiler-generated unsafeCameron Steffen-0/+1
2021-06-18Auto merge of #85421 - Smittyvb:rm_pushpop_unsafe, r=matthewjasperbors-2/+0
Remove some last remants of {push,pop}_unsafe! These macros have already been removed, but there was still some code handling these macros. That code is now removed.
2021-06-13Box `ExprKind::Adt`LeSeulArtichaut-13/+16
2021-06-06Remove some last remants of {push,pop}_unsafe!Smitty-2/+0
These macros have already been removed, but there was still some code handling these macros. That code is now removed.
2021-05-22Make THIR building a stealable queryLeSeulArtichaut-20/+24
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-0/+743