summary refs log tree commit diff
path: root/src/librustc_mir/build/expr
AgeCommit message (Expand)AuthorLines
2019-05-10Remove hir::ExprKind::If and replace it with lowering to hir::ExprKind::Match.Mazdak Farrokhzad-40/+0
2019-05-04Auto merge of #59897 - tmandry:variantful-generators, r=eddybbors-15/+3
2019-04-25Update existing usagesvarkor-2/+2
2019-04-25Support variantful generatorsTyler Mandry-16/+3
2019-04-25Define generator discriminant type in only one placeTyler Mandry-2/+3
2019-04-24Evaluate hair::ExprKind::Use in intoMatthew Jasper-6/+5
2019-04-23rustc: don't track var_hir_id or mutability in mir::UpvarDecl.Eduard-Mihai Burtescu-2/+2
2019-04-21Enable migrate mode by default on the 2015 editionMatthew Jasper-5/+1
2019-04-16refactor ExprKind to use new PointerCast enumSaleem Jaffer-44/+5
2019-04-15basic refactor. Adding PointerCast enumSaleem Jaffer-5/+16
2019-04-03Shrink `mir::Statement`.Nicholas Nethercote-3/+3
2019-04-02renames EvalErrorKind to InterpErrorkenta7777-6/+6
2019-04-01Allow closure to unsafe fn coercionTaiki Endo-2/+2
2019-03-23adding mir::StaticKind enum for static and promotedSaleem Jaffer-2/+1
2019-03-18promoted is still left in 2 placesSaleem Jaffer-0/+1
2019-03-16Revert the `LazyConst` PROliver Scherer-2/+2
2019-03-03Auto merge of #58673 - matthewjasper:typeck-ptr-coercions, r=pnkfelixbors-2/+7
2019-03-01Put Local, Static and Promoted as one Base variant of PlaceSantiago Pastorino-29/+43
2019-02-23Type check coercions to pointer typesMatthew Jasper-2/+7
2019-02-21Match discriminant -> scrutineeMatthew Jasper-2/+2
2019-02-09Auto merge of #58207 - nnethercote:intern_lazy_const, r=oli-obkbors-1/+1
2019-02-08librustc_mir => 2018Taiki Endo-21/+21
2019-02-06Make `intern_lazy_const` actually intern its argument.Nicholas Nethercote-1/+1
2019-01-19Handle lifetime annotations in unreachable codeMatthew Jasper-4/+15
2019-01-19Use a struct for user type annotationsMatthew Jasper-6/+13
2019-01-05Remove `Region` from HAIRMatthew Jasper-6/+3
2019-01-01Move the `Unevaluated` constant arm upwards in the type structureOliver Scherer-5/+7
2018-12-30Refactor `UserTypeAnnotation`.David Wood-7/+21
2018-12-25Remove licensesMark Rousskov-90/+0
2018-12-23Rollup merge of #56917 - sinkuu:mir_build_logicop, r=davidtwcoMazdak Farrokhzad-30/+23
2018-12-17Simplify MIR generation for logical opsShotaro Yamada-30/+23
2018-12-11Add a FIXME for mir build unreachable destination checkingvarkor-6/+8
2018-12-11Consider privacy in more locationsvarkor-7/+7
2018-12-11Fix handling of divergent dicriminantsvarkor-1/+0
2018-12-11Make uninhabitedness checking more intelligentvarkor-1/+1
2018-12-11Check for uninhabitedness instead of nevervarkor-3/+2
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-3/+3
2018-11-21Update as_temp.rsOliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer-1/+6
2018-11-21Update as_temp.rsOliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer-2/+4
2018-11-21Update an outdated comment in mir buildingOliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer-3/+2
2018-11-15Rollup merge of #55781 - pnkfelix:issue-54382-more-precise-spans-for-temps-an...Pietro Albini-19/+67
2018-11-08Revise the temp creation for blocks in `stmt_expr` to setup `BlockTailInfo`.Felix S. Klock II-1/+17
2018-11-08Refactor code so that block_context observations has nicely named (and docume...Felix S. Klock II-13/+3
2018-11-08Narrow span of temp holding the value of a Block expression to the block's ta...Felix S. Klock II-1/+24
2018-11-08For diagnostics, set spans of drops of temps to be that of the statement's te...Felix S. Klock II-5/+24
2018-11-07array index accesses are stable placesRalf Jung-0/+3
2018-11-02Auto merge of #55087 - levex:e0669-improve-span, r=nagisabors-2/+6
2018-10-26Add the actual chain of projections to `UserTypeProjection`.Felix S. Klock II-2/+2
2018-10-26Checkpoint: Added abstraction over collection of projections into user type.Felix S. Klock II-1/+1
2018-10-26Added `mir::UserTypeProjection`, a stub for a structure that projects *into* ...Felix S. Klock II-2/+2