summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2020-07-01Rollup merge of #73806 - Aaron1011:feature/approx-universal-upper, r=estebankManish Goregaokar-1/+3
2020-06-30change `skip_binder` to use T by valueBastian Kauschke-2/+2
2020-06-27Rollup merge of #73796 - lcnr:LocalDefId, r=matthewjasperManish Goregaokar-3/+3
2020-06-27Use an 'approximate' universal upper bound when reporting region errorsAaron Hill-1/+3
2020-06-27more LocalDefId cleanupBastian Kauschke-4/+4
2020-06-27more LocalDefId in ty::contextBastian Kauschke-1/+1
2020-06-26Explain move errors that occur due to method calls involving `self`Aaron Hill-30/+207
2020-06-24Provide suggestions for some moved value errorsEsteban Küber-10/+51
2020-06-23Rollup merge of #73600 - Aaron1011:fix/move-in-macro, r=ecstatic-morseDylan DPC-1/+1
2020-06-22Revert "Rollup merge of #72389 - Aaron1011:feature/move-fn-self-msg, r=nikoma...Aaron Hill-198/+30
2020-06-21Fix spurious 'value moved here in previous iteration of loop' messagesAaron Hill-1/+1
2020-06-15Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=nikomatsakisRalf Jung-19/+44
2020-06-11Run fmtAaron Hill-4/+2
2020-06-11Use `fn_span` to point to the actual method callAaron Hill-3/+3
2020-06-11Explain move errors that occur due to method calls involving `self`Aaron Hill-30/+200
2020-06-11Rollup merge of #72380 - lcnr:const_context, r=estebankDylan DPC-1/+1
2020-05-29Rollup merge of #72103 - lcnr:borrowck-localdefid, r=jonas-schievinkRalf Jung-55/+49
2020-05-25Display information about captured variable in `FnMut` errorAaron Hill-19/+44
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-20fix is_const_contextBastian 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