about summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2020-05-07Remove old `util/liveness.rs` moduleDylan MacKenzie-2/+2
2020-05-06Shrink `LocalDecl` by 16 bytes.Nicholas Nethercote-4/+3
2020-05-06Shrink `LocalDecl` by 56 bytes.Nicholas Nethercote-18/+18
2020-05-04Suggest restricting type param when it doesn't satisfy projectionEsteban Küber-2/+1
2020-05-02fix rustdoc warningsTshepang Lekhonkhobe-2/+4
2020-04-29Rollup merge of #71217 - estebank:tail-borrow-sugg, r=pnkfelixDylan DPC-15/+24
2020-04-28Suggest `;` or assignment to drop borrows in tail exprsEsteban Küber-15/+24
2020-04-27Use `LocalDefId` in `typeck_tables_of` and `used_trait_imports` queriesmarmeladema-4/+6
2020-04-26Rollup merge of #71392 - ecstatic-morse:body-predecessor-cache-arc, r=nikomat...Dylan DPC-1/+1
2020-04-23Address comments from reviewmarmeladema-5/+2
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-17/+13
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-13/+17
2020-04-22Remove `predecessors_for`Dylan MacKenzie-1/+1
2020-04-22Use `Body` everywhereDylan MacKenzie-2/+18
2020-04-22Don't use `*` for deref-coercionDylan MacKenzie-17/+16
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