summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2020-05-29Rollup merge of #72103 - lcnr:borrowck-localdefid, r=jonas-schievinkRalf Jung-55/+49
2020-05-25Rollup merge of #72544 - sexxi-goose:upvars_mentioned, r=matthewjasperRalf Jung-4/+9
2020-05-24librustc_middle: Rename upvars query to upvars_mentionedAman Arora-4/+9
2020-05-22Remove dead ScopeTree codeMatthew Jasper-4/+0
2020-05-22Remove ReScopeMatthew Jasper-1/+0
2020-05-20introduce newtype'd `Predicate<'tcx>`Bastian Kauschke-1/+1
2020-05-20rename `Predicate` to `PredicateKind`, introduce aliasBastian Kauschke-1/+1
2020-05-11borrowck `DefId` -> `LocalDefId`Bastian Kauschke-55/+49
2020-05-09Rollup merge of #71942 - nnethercote:shrink-LocalDecl, r=matthewjasperDylan DPC-20/+19
2020-05-08Rollup merge of #71993 - ecstatic-morse:cleanup-old-liveness, r=jonas-schievinkDylan DPC-2/+2
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