summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check
AgeCommit message (Expand)AuthorLines
2020-05-09normalize field projection ty to fix broken MIR issueSantiago Pastorino-0/+1
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-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
2020-03-26Update imports from `dataflow::generic` to `dataflow`Dylan MacKenzie-7/+7
2020-03-26Rename asm! to llvm_asm!Amanieu d'Antras-3/+3
2020-03-26borrowck diagnostics: address review comments.Mazdak Farrokhzad-22/+28
2020-03-25borrowck: prefer "value" over "`_`".Mazdak Farrokhzad-76/+55
2020-03-24Rollup merge of #70277 - matthewjasper:remove-closurebound, r=nikomatsakisMazdak Farrokhzad-36/+8
2020-03-24Rollup merge of #70264 - tirr-c:issue-69789-mut-suggestion, r=estebankMazdak Farrokhzad-23/+59
2020-03-24Rollup merge of #69981 - oli-obk:const_blocks, r=eddybMazdak Farrokhzad-1/+5
2020-03-23Remove `ReClosureBound`Matthew Jasper-36/+8
2020-03-23Evaluate repeat expression lengths as late as possibleOliver Scherer-1/+5
2020-03-23Rollup merge of #69968 - eddyb:tupled-closure-captures, r=nikomatsakisMazdak Farrokhzad-37/+30
2020-03-22Fix invalid suggestion on `&mut` iterators yielding `&` referencesWonwoo Choi-23/+59
2020-03-21make some let-if-bindings more idiomatic (clippy::useless_let_if_seq)Matthias Krüger-8/+4
2020-03-21rustc: keep upvars tupled in {Closure,Generator}Substs.Eduard-Mihai Burtescu-37/+30
2020-03-21Rollup merge of #70089 - eddyb:closure-sig-infer, r=nikomatsakisMazdak Farrokhzad-5/+3