summary refs log tree commit diff
path: root/src/librustc/mir/mod.rs
AgeCommit message (Expand)AuthorLines
2019-04-03Rollup merge of #59630 - nnethercote:shrink-mir-Statement, r=pnkfelixMazdak Farrokhzad-14/+23
2019-04-03Rollup merge of #59514 - tmandry:remove-adt-def-from-projection-elem, r=eddybMazdak Farrokhzad-30/+39
2019-04-03Shrink `mir::Statement`.Nicholas Nethercote-14/+23
2019-04-02Replace adt_def with name in mir::ProjectionElem::DowncastTyler Mandry-30/+39
2019-04-02renames EvalErrorKind to InterpErrorkenta7777-4/+4
2019-04-01Allow closure to unsafe fn coercionTaiki Endo-2/+3
2019-03-26Rollup merge of #59232 - saleemjaffer:mir_place_refactor, r=oli-obkMazdak Farrokhzad-21/+29
2019-03-24Remove `VariantDef::parent_did`Vadim Petrochenkov-2/+1
2019-03-24Separate variant id and variant constructor id.David Wood-1/+2
2019-03-23adding mir::StaticKind enum for static and promotedSaleem Jaffer-21/+26
2019-03-18promoted is still left in 2 placesSaleem Jaffer-17/+20
2019-03-16Revert the `LazyConst` PROliver Scherer-14/+5
2019-03-15rustc: slice substs in ty::print instead of passing the full ones.Eduard-Mihai Burtescu-1/+1
2019-03-15rustc: remove PrintCx from ty::Print and rely on printers carrying TyCtxt.Eduard-Mihai Burtescu-4/+5
2019-03-15rustc: don't thread existential projections through path_generic_args.Eduard-Mihai Burtescu-1/+1
2019-03-15rustc: make util::ppaux private.Eduard-Mihai Burtescu-2/+7
2019-03-15rustc: remove fields from ty::print::PrintConfig available from tcx.Eduard-Mihai Burtescu-14/+14
2019-03-15rustc: split out the pretty-printing parts of ty::print into a separate module.Eduard-Mihai Burtescu-2/+2
2019-03-15rustc: don't pass Namespace explicitly, but rather track it in FmtPrinter.Eduard-Mihai Burtescu-1/+2
2019-03-15rustc: pass ty::print::PrintCx by value.Eduard-Mihai Burtescu-1/+1
2019-03-15rustc: split off most of ty::print::PrintCx's fields into a separate struct.Eduard-Mihai Burtescu-2/+2
2019-03-15rustc: rename item_path to def_path (except the module in ty).Eduard-Mihai Burtescu-4/+4
2019-03-15rustc: explicitly pass the namespace to PrintCx::parameterized.Eduard-Mihai Burtescu-2/+2
2019-03-15rustc: move the formatter into ty::print::PrintCx.Eduard-Mihai Burtescu-2/+2
2019-03-15rustc: tie the 'tcx between Print and PrintCx in ty::print.Eduard-Mihai Burtescu-1/+1
2019-03-15rustc: keep a TyCtxt in PrintCx and use it instead of ty::tls.Eduard-Mihai Burtescu-11/+13
2019-03-13Use derive macro for HashStableJohn Kåre Alsaker-41/+51
2019-03-07HirIdification: replace NodeId method callsljedrz-7/+8
2019-03-03Auto merge of #58673 - matthewjasper:typeck-ptr-coercions, r=pnkfelixbors-0/+3
2019-03-01Put Local, Static and Promoted as one Base variant of PlaceSantiago Pastorino-10/+22
2019-02-26replace &'tcx Substs with SubstsRefcsmoe-3/+3
2019-02-26Auto merge of #58561 - ljedrz:HirIdify_some_nodes, r=Zoxcbors-6/+6
2019-02-24hir: remove NodeId from Blockljedrz-6/+6
2019-02-23Type check coercions to pointer typesMatthew Jasper-0/+3
2019-02-21Use normal mutable borrows in MIR match loweringMatthew Jasper-4/+9
2019-02-10rustc: doc commentsAlexander Regueiro-33/+33
2019-02-09Auto merge of #58207 - nnethercote:intern_lazy_const, r=oli-obkbors-1/+1
2019-02-06Make `intern_lazy_const` actually intern its argument.Nicholas Nethercote-1/+1
2019-02-05move librustc to 2018Mark Mansi-21/+21
2019-01-27`ConstValue::ScalarPair` only needs to represent slicesOliver Scherer-16/+14
2019-01-19Use a struct for user type annotationsMatthew Jasper-1/+1
2019-01-19Rename UserTypeAnnotation -> UserTypeMatthew Jasper-1/+1
2019-01-01`<&'tcx ty::Const as Deref>::deref`Oliver Scherer-4/+4
2019-01-01Move the `Unevaluated` constant arm upwards in the type structureOliver Scherer-3/+13
2018-12-30Stop duplicating projections of type annotation.David Wood-0/+75
2018-12-30Refactor `UserTypeAnnotation`.David Wood-33/+17
2018-12-26Store `Ident` rather than just `Name` in HIR types `Item` and `ForeignItem`.Alexander Regueiro-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-23stabilize min_const_unsafe_fn in 1.33.Mazdak Farrokhzad-3/+0
2018-12-20Auto merge of #56741 - RalfJung:retag-to-raw, r=oli-obkbors-24/+24