summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check
AgeCommit message (Expand)AuthorLines
2019-04-04Use more accurate lint root for mutable_borrow_reservation_conflictMatthew Jasper-1/+8
2019-04-04Fix out-of-date commentFelix S Klock II-1/+1
2019-04-04add mutable_borrow_reservation_conflict future-incompatibility lint.Felix S. Klock II-4/+13
2019-04-04Treat two-phase borrow reservations as mutable accessesMatthew Jasper-42/+95
2019-04-03Deny internal lints on librustc_mirflip1995-29/+29
2019-04-03Rollup merge of #59630 - nnethercote:shrink-mir-Statement, r=pnkfelixMazdak Farrokhzad-16/+8
2019-04-03Rollup merge of #59514 - tmandry:remove-adt-def-from-projection-elem, r=eddybMazdak Farrokhzad-100/+113
2019-04-03Shrink `mir::Statement`.Nicholas Nethercote-16/+8
2019-04-02Remove adt_def from PlaceTy and make it a structTyler Mandry-77/+72
2019-04-02Replace adt_def with name in mir::ProjectionElem::DowncastTyler Mandry-26/+44
2019-04-02Rollup merge of #59607 - kenta7777:renames-EvalErrorKind-to-InterpError, r=ol...Mazdak Farrokhzad-3/+3
2019-04-02Rollup merge of #59585 - rust-lang:shallow-borrow-fixes, r=pnkfelixMazdak Farrokhzad-6/+2
2019-04-02renames EvalErrorKind to InterpErrorkenta7777-3/+3
2019-04-01Rollup merge of #58919 - estebank:impl-trait-return-lifetime, r=pnkfelixMazdak Farrokhzad-0/+10
2019-04-01Rollup merge of #58507 - Zoxc:time-extended, r=michaelwoeristerMazdak Farrokhzad-2/+3
2019-03-31Suggest using anonymous lifetime in `impl Trait` return without hacksEsteban Küber-0/+10
2019-04-01Allow closure to unsafe fn coercionTaiki Endo-2/+2
2019-03-31Fixes for shallow borrowsMatthew Jasper-6/+2
2019-03-28Rollup merge of #59429 - estebank:for-loop-move-nll, r=petrochenkovMazdak Farrokhzad-16/+49
2019-03-26Rollup merge of #59232 - saleemjaffer:mir_place_refactor, r=oli-obkMazdak Farrokhzad-114/+107
2019-03-25When moving out of a for loop head, suggest borrowing it in nll modeEsteban Küber-16/+49
2019-03-24Auto merge of #59382 - davidtwco:rfc-2008-refactoring, r=petrochenkovbors-4/+4
2019-03-24Merge `DefPathData::VariantCtor` and `DefPathData::StructCtor`Vadim Petrochenkov-4/+4
2019-03-24Rollup merge of #59251 - matthewjasper:fix-graphviz, r=petrochenkovkennytm-4/+4
2019-03-24code review fixesSaleem Jaffer-105/+73
2019-03-23Auto merge of #59068 - ljedrz:kill_off_NodeId_stragglers, r=Zoxcbors-6/+2
2019-03-23adding mir::StaticKind enum for static and promotedSaleem Jaffer-92/+138
2019-03-21review fixesSaleem Jaffer-34/+24
2019-03-20Add a -Z time option which prints only passes which runs onceJohn Kåre Alsaker-2/+3
2019-03-19tidy checksSaleem Jaffer-1/+2
2019-03-18fixed all compilation errorsSaleem Jaffer-15/+8
2019-03-18cleaner code as per reviewSaleem Jaffer-58/+37
2019-03-18promoted is still left in 2 placesSaleem Jaffer-126/+142
2019-03-17Use a valid name for graphviz graphsMatthew Jasper-4/+4
2019-03-16Revert the `LazyConst` PROliver Scherer-40/+37
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/+4
2019-03-15rustc: move ty::print::PrintConfig's fields to FmtPrinter.Eduard-Mihai Burtescu-6/+2
2019-03-15rustc: don't pass Namespace explicitly, but rather track it in FmtPrinter.Eduard-Mihai Burtescu-2/+3
2019-03-15rustc: don't keep RegionHighlightMode in a thread-local.Eduard-Mihai Burtescu-32/+54
2019-03-15rustc: rename item_path to def_path (except the module in ty).Eduard-Mihai Burtescu-2/+2
2019-03-15rustc: remove TyCtxt::parent_def_id in favor of TyCtxt::parent.Eduard-Mihai Burtescu-1/+1
2019-03-15rustc: remove fmt::{Debug,Display} from ty::TyKind.Eduard-Mihai Burtescu-1/+1
2019-03-10Make migrate mode work at item level granularityMatthew Jasper-23/+5
2019-03-10HirIdification: remove all NodeIds from rustc_mirljedrz-6/+2
2019-03-08expand unused doc comment diagnosticAndy Russell-3/+3
2019-03-07hir: remove NodeId from PatKindljedrz-1/+0
2019-03-07HirIdification: replace NodeId method callsljedrz-19/+16
2019-03-05Handle new ConstValue variants in mirvarkor-2/+14
2019-03-03Auto merge of #58505 - schomatis:fix/nll/remove-live-var, r=matthewjasperbors-170/+138