summary refs log tree commit diff
path: root/src/librustc/mir/mod.rs
AgeCommit message (Expand)AuthorLines
2020-03-10Rollup merge of #69714 - spastorino:place-ref-lifetime, r=oli-obkMazdak Farrokhzad-4/+4
2020-03-07Rollup merge of #69656 - matthiaskrgr:iter_nth_zero, r=oli-obkMazdak Farrokhzad-1/+1
2020-03-05Const items have by default a static lifetime, there's no need to annotate it...Matthias Krüger-1/+1
2020-03-04PlaceRef<'a, 'tcx> -> PlaceRef<'tcx>Santiago Pastorino-4/+4
2020-03-03Use .next() instead of .nth(0) on iterators.Matthias Krüger-1/+1
2020-03-02Make PlaceRef lifetimes of Place::as_ref be both 'tcxSantiago Pastorino-1/+1
2020-03-03Simplify conditions like x + 1 <= y to x < yMatthias Krüger-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-2/+2
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-1/+1
2020-02-27Auto merge of #68528 - ecstatic-morse:maybe-init-variants, r=oli-obkbors-0/+9
2020-02-16suspend -> yieldJonas Schievink-3/+1
2020-02-16Fix printing of `Yield` terminatorJonas Schievink-8/+10
2020-02-13Add `Place` getter to `Operand`Dylan MacKenzie-0/+9
2020-02-13rename PanicInfo -> AssertKindRalf Jung-9/+9
2020-02-13move PanicInfo to mir moduleRalf Jung-2/+55
2020-02-13remove PanicInfo::Panic variant that MIR does not use or needRalf Jung-4/+2
2020-02-02Add resume arg place to `Yield` MIR terminatorJonas Schievink-3/+8
2020-01-28Remove unneeded & on match patternSantiago Pastorino-2/+2
2020-01-28Local field on PlaceRef and RootPlace is not a reference anymoreSantiago Pastorino-7/+7
2020-01-27make matches exhaustiveMatthias Krüger-6/+14
2020-01-27don't clone types that are copy, round two.Matthias Krüger-5/+5
2020-01-14Add test for `ResultsCursor`Dylan MacKenzie-0/+25
2020-01-12Split `rustc_mir::{build, hair, lints}` into their own crateMatthew Jasper-221/+4
2020-01-10Make Place CopySantiago Pastorino-1/+1
2020-01-10No need to use local.into hereSantiago Pastorino-1/+1
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-51/+13
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-48/+6
2020-01-10Remove StaticKindSantiago Pastorino-39/+4
2020-01-10Remove StaticKind::PromotedSantiago Pastorino-20/+5
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-0/+11
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-3/+4
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-119/+119
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-17/+2
2019-12-18Add Rvalue::AddressOf to MIRMatthew Jasper-0/+18
2019-12-11Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelixbors-7/+17
2019-12-09Rollup merge of #67125 - hashedone:master, r=petrochenkovTyler Mandry-5/+9
2019-12-09Make const index and subslice array projections more usefulMatthew Jasper-7/+17
2019-12-09Added ExactSizeIterator bound to return typesBartłomiej Kuras-1/+1
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-3/+3
2019-12-07Added ExactSizeIterator bound to return typesBartłomiej Kuras-5/+9
2019-12-06Fix rebase issuesvarkor-1/+1
2019-12-06Use `to_option` in various placesvarkor-5/+1
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-3/+3
2019-12-02Remove unchecked inline attribute, remove unused functions, make chache mod p...Paul Daniel Faria-1/+1
2019-12-02Remove inline attributes that hadn't been profiled, unexport Cache since it n...Paul Daniel Faria-2/+1
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-3/+3
2019-12-02Fix tidy errorsPaul Daniel Faria-1/+1