about summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check
AgeCommit message (Expand)AuthorLines
2020-04-23Address comments from reviewmarmeladema-5/+2
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-19/+15
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-32/+46
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-1/+1
2020-04-23normalize field projection ty to fix broken MIR issueSantiago Pastorino-0/+1
2020-04-23Use `ConstCx` for `validate_candidates`Oliver Scherer-1/+1
2020-04-23Use ConstCx in more placesOliver Scherer-5/+11
2020-04-22Remove `predecessors_for`Dylan MacKenzie-3/+3
2020-04-22Move `{Free,}RegionRelations` and `FreeRegionMap` out of `rustc_middle`Dylan MacKenzie-1/+1
2020-04-22Use `Body` everywhereDylan MacKenzie-64/+63
2020-04-22Don't use `*` for deref-coercionDylan MacKenzie-39/+38
2020-04-21sccs are computed in dependency orderNiko Matsakis-53/+5
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-114/+136
2020-04-18remove build warningsTshepang Lekhonkhobe-5/+5
2020-04-17Auto merge of #71049 - eddyb:const-err, r=oli-obkbors-2/+2
2020-04-16mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`.Eduard-Mihai Burtescu-2/+2
2020-04-16compute SCCs in dependency orderNiko Matsakis-33/+60
2020-04-16reserve variable for empty root regionNiko Matsakis-16/+29
2020-04-16enforce that R1: R2 requires univ(R1) <= univ(R2)Niko Matsakis-5/+79
2020-04-16don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger-1/+1
2020-04-15Fix clippy warningsMatthias Krüger-1/+1
2020-04-14borrow_check/type_check: normalize `Aggregate` and `Call` operands.Eduard-Mihai Burtescu-0/+2
2020-04-11Pass the `PlaceElem::Index` local to `visit_local`Jonas Schievink-1/+5
2020-04-10Rollup merge of #70913 - eddyb:rc-arc-diagnostic-items, r=matthewjasperMazdak Farrokhzad-17/+20
2020-04-09Auto merge of #70860 - lcnr:has_local_value, r=nikomatsakisbors-3/+3
2020-04-08replace `has_local_value` with `needs_infer`Bastian Kauschke-3/+3
2020-04-08Suggest move for closures and async blocks in more cases.Alex Aktsipetrov-38/+20
2020-04-08Replace "rc"/"arc" lang items with Rc/Arc diagnostic items.Eduard-Mihai Burtescu-17/+20
2020-04-05Use smaller span for suggestion restricting lifetimeEsteban Küber-27/+16
2020-04-03Minor follow-up after renaming librustc(_middle)Yuki Okushi-2/+2
2020-04-02direct imports for langitem stuffMazdak Farrokhzad-1/+1
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-2/+2
2020-04-01Rollup merge of #70627 - spastorino:use-place-directly-its-copy, r=oli-obkMazdak Farrokhzad-126/+119
2020-04-01Rollup merge of #70511 - ecstatic-morse:mir-dataflow-graphviz, r=davidtwcoMazdak Farrokhzad-1/+1
2020-03-31Use Place directly, it's Copy even more use casesSantiago Pastorino-26/+26
2020-03-31Use Place directly on remove_never_initialized_mut_locals, it's CopySantiago Pastorino-4/+4
2020-03-31Use Place directly on borrow_of_local_data, it's CopySantiago Pastorino-4/+4
2020-03-31Use Place directly on propagate_closure_used_mut_place, it's CopySantiago Pastorino-4/+3
2020-03-31Use Place directly, it's CopySantiago Pastorino-88/+82
2020-03-30Rollup merge of #70546 - lqd:polonius_update, r=nikomatsakisDylan DPC-1/+1
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-88/+79
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-75/+75
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-132/+132
2020-03-30Auto merge of #70449 - ecstatic-morse:visit-body, r=oli-obkbors-11/+11
2020-03-30Polonius fact generation: fix path access fact locationRemy Rakic-1/+1
2020-03-29Use `&` to do deref coercion for `ReadOnlyBodyAndCache`Dylan MacKenzie-10/+10
2020-03-29Tweak `suggest_constraining_type_param`Esteban Küber-2/+0
2020-03-29Make `Visitor::visit_body` take a simple `Body`Dylan MacKenzie-9/+9
2020-03-28`dump_enabled` takes a `DefId` instead of `MirSource`Dylan MacKenzie-1/+1
2020-03-27Auto merge of #68404 - Amanieu:llvm-asm, r=estebankbors-3/+3