summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-43/+51
2020-04-18remove build warningsTshepang Lekhonkhobe-5/+5
2020-04-10Rollup merge of #70913 - eddyb:rc-arc-diagnostic-items, r=matthewjasperMazdak Farrokhzad-17/+20
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-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-1/+1
2020-03-31Use Place directly, it's Copy even more use casesSantiago Pastorino-26/+26
2020-03-31Use Place directly, it's CopySantiago Pastorino-21/+16
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-79/+73
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-21/+21
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-31/+31
2020-03-30Auto merge of #70449 - ecstatic-morse:visit-body, r=oli-obkbors-1/+1
2020-03-29Use `&` to do deref coercion for `ReadOnlyBodyAndCache`Dylan MacKenzie-1/+1
2020-03-29Tweak `suggest_constraining_type_param`Esteban Küber-2/+0
2020-03-29Make `Visitor::visit_body` take a simple `Body`Dylan MacKenzie-1/+1
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-2/+1
2020-03-24Rollup merge of #70264 - tirr-c:issue-69789-mut-suggestion, r=estebankMazdak Farrokhzad-23/+59
2020-03-23Remove `ReClosureBound`Matthew Jasper-2/+1
2020-03-23Rollup merge of #69968 - eddyb:tupled-closure-captures, r=nikomatsakisMazdak Farrokhzad-12/+9
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-12/+9
2020-03-21Rollup merge of #70089 - eddyb:closure-sig-infer, r=nikomatsakisMazdak Farrokhzad-1/+1
2020-03-20remove redundant returns (clippy::needless_return)Matthias Krüger-1/+1
2020-03-18rustc_infer: remove InferCtxt::closure_sig as the FnSig is always shallowly k...Eduard-Mihai Burtescu-1/+1
2020-03-17Don't use `TypeckTables` in NiceRegionErrorMatthew Jasper-2/+1
2020-03-15More Method->Fn renamingMark Mansi-3/+3
2020-03-14Make downstream crates compile.Camille GILLOT-1/+1
2020-03-14Move opaque_types::unexpected_hidden_region_diagnostic to error_reporting.Camille GILLOT-2/+3
2020-03-12Rollup merge of #69674 - mark-i-m:assoc-fn, r=matthewjasperMazdak Farrokhzad-2/+2
2020-03-10Rollup merge of #69714 - spastorino:place-ref-lifetime, r=oli-obkMazdak Farrokhzad-12/+12
2020-03-08Rollup merge of #69120 - spunit262:invalid-sugar-suggest, r=matthewjasperMazdak Farrokhzad-43/+45
2020-03-07Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkovMazdak Farrokhzad-2/+2
2020-03-06Don't redundantly repeat field names (clippy::redundant_field_names)Matthias Krüger-1/+1
2020-03-06fix various typosMatthias Krüger-2/+2
2020-03-04PlaceRef<'a, 'tcx> -> PlaceRef<'tcx>Santiago Pastorino-11/+11
2020-03-04Make PlaceRef lifetimes of classify_drop_access_kind be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of closure_span be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of move_spans be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of borrowed_content_source be both 'tcxSantiago Pastorino-2/+2
2020-03-04Make PlaceRef lifetimes of describe_field be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of add_moved_or_invoked_closure_note be both 'tcxSantiago Pastorino-1/+1
2020-03-04Make PlaceRef lifetimes of is_upvar_field_projection be both 'tcxSantiago Pastorino-5/+5
2020-03-04Make PlaceRef lifetimes of move_error_reported be both 'tcxSantiago Pastorino-1/+1
2020-03-03rename TraitItemKind::Method -> FnMark Mansi-2/+2
2020-02-29Rollup merge of #69572 - matthiaskrgr:try_err_and_iter_on_ref, r=CentrilDylan DPC-1/+1
2020-02-29use .iter() instead of .into_iter() on references.Matthias Krüger-1/+1