summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/mod.rs
AgeCommit message (Expand)AuthorLines
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-2/+2
2022-06-14rebaseb-naber-1/+2
2022-06-14address reviewb-naber-1/+58
2022-06-14address reviewb-naber-56/+2
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-54/+64
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-2/+2
2022-06-09thir: wrap hir id of vars into local var idDing Xiang Fei-7/+8
2022-05-25try to cache region_scope_tree as a queryDing Xiang Fei-0/+2
2022-05-22factor out the rvalue lifetime ruleDing Xiang Fei-2/+0
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-16use GlobalId in eval_to_valtree query and introduce query for valtree_to_cons...b-naber-0/+56
2022-05-14Auto merge of #96883 - jackh726:early-binder-2, r=oli-obkbors-1/+1
2022-05-13Add bound_type_ofJack Huey-3/+2
2022-05-10Introduce EarlyBinderJack Huey-2/+3
2022-05-10only_local: always check for misuselcnr-1/+0
2022-05-04Generate an intermediate temporary for `Drop` constants.Oli Scherer-0/+12
2022-04-20Rollup merge of #93313 - tmiasko:uninhabited, r=tmandryDylan DPC-1/+4
2022-03-29Remember mutability in `DefKind::Static`.Camille GILLOT-2/+2
2022-03-24Check if call return type is visibly uninhabited when building MIRTomasz Miąsko-1/+4
2022-03-16rustc_error: make ErrorReported impossible to constructmark-2/+6
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-2/+2
2022-02-286 - Make more use of `let_chains`Caio-8/+6
2022-02-19Adopt let else in more placesest31-3/+2
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-1/+1
2022-02-11add tainted_by_errors to mir::BodyMichael Goulet-2/+5
2022-02-09Ensure that queries only return Copy types.Camille GILLOT-1/+1
2022-01-15initial revertEllen-6/+4
2022-01-07Remove span from UpvarCapture::ByValueGary Guo-1/+1
2021-11-18Use more let_else in rustc_mir_buildest31-51/+50
2021-09-20no ensureEllen-3/+6
2021-09-09rename mir -> thir around abstract constsEllen-2/+2
2021-09-09remove debug stmtsEllen-2/+0
2021-09-09WIP stateEllen-2/+6
2021-08-26update `TypeFlags` to deal with missing ct substslcnr-4/+6
2021-08-22Fix typos “a”→“an”Frank Steffahn-2/+2
2021-08-18Remove box syntax from rustc_mir_buildest31-4/+4
2021-08-14Auto merge of #85020 - lrh2000:named-upvars, r=tmandrybors-13/+8
2021-08-03rustc: Fill out remaining parts of C-unwind ABIAlex Crichton-59/+2
2021-07-10Implement Mutation- and BorrowOfLayoutConstrainedField in thir-unsafeckFabian Wolff-0/+2
2021-07-10Add a query for `CapturedPlace::to_symbol`lrh2000-6/+7
2021-07-09Store names of captured variables in `optimized_mir`lrh2000-8/+2
2021-06-06Remove some last remants of {push,pop}_unsafe!Smitty-8/+3
2021-05-25Rollup merge of #85605 - ptrojahn:closure_struct, r=matthewjasperGuillaume Gomez-3/+2
2021-05-24Make `thir_check_unsafety` itself responsible for checking gateLeSeulArtichaut-9/+7
2021-05-24Add comments about stealing THIR in `mir_build`LeSeulArtichaut-0/+4
2021-05-23Replace Local::new(1) with CAPTURE_STRUCT_LOCALPaul Trojahn-3/+2
2021-05-22Make the THIR unsafeck use the `thir_body` queryLeSeulArtichaut-0/+12
2021-05-22Make THIR building a stealable queryLeSeulArtichaut-4/+4
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-2/+4
2021-05-19Store THIR in `IndexVec`s instead of an `Arena`LeSeulArtichaut-19/+60