about summary refs log tree commit diff
path: root/compiler/rustc_borrowck
AgeCommit message (Expand)AuthorLines
2024-04-25review comment: rename methodEsteban Küber-2/+2
2024-04-25Check equivalence of indices in more casesEsteban Küber-1/+7
2024-04-25Don't suggest `split_at_mut` when the multiple borrows have the same indexEsteban Küber-2/+6
2024-04-25Mention `split_at_mut` when mixing mutability in indexing opsEsteban Küber-2/+17
2024-04-25Only suggest `split_at_mut` on indexing borrowck errors for std typesEsteban Küber-8/+22
2024-04-25Detect borrow error involving sub-slices and suggest `split_at_mut`Esteban Küber-16/+25
2024-04-25Auto merge of #119650 - chenyukang:yukang-fix-118596-ref-mut, r=wesleywiserbors-1/+16
2024-04-24Suggest cloning captured binding in `move` closureEsteban Küber-8/+136
2024-04-24Mention when type parameter could be `Clone`Esteban Küber-8/+51
2024-04-24Modify `find_expr` from `Span` to better account for closuresEsteban Küber-4/+4
2024-04-25Suggest ref mut for pattern matching assignmentyukang-1/+16
2024-04-23Rollup merge of #122598 - Nadrieril:full-derefpats, r=matthewjasperLeón Orell Valerian Liehr-34/+54
2024-04-22Rollup merge of #124183 - compiler-errors:unnecessary-by-ref, r=oli-obkGuillaume Gomez-2/+2
2024-04-21Add `AggregateKind::RawPtr` and enough support to compileScott McMurray-3/+9
2024-04-20Add a non-shallow fake borrowNadrieril-34/+54
2024-04-19Stop taking ParamTy/ParamConst/EarlyParamRegion/AliasTy by refMichael Goulet-2/+2
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-8/+8
2024-04-16Auto merge of #123537 - compiler-errors:shallow, r=lcnrbors-1/+1
2024-04-16Rollup merge of #123990 - compiler-errors:suggest-closure-ret-deref, r=oli-obkGuillaume Gomez-73/+64
2024-04-16Rollup merge of #123797 - amandasystems:better-graphviz, r=oli-obkGuillaume Gomez-6/+38
2024-04-15Make suggest_deref_closure_return more idiomatic/easier to understandMichael Goulet-73/+64
2024-04-16Rollup merge of #123989 - compiler-errors:type-dependent-def-id, r=oli-obkLeón Orell Valerian Liehr-26/+20
2024-04-16Rollup merge of #123016 - compiler-errors:no-type-var-origin, r=lcnrLeón Orell Valerian Liehr-17/+10
2024-04-15Simplify shallow resolver to just fold ty/constsMichael Goulet-1/+1
2024-04-15Rebase falloutMichael Goulet-5/+4
2024-04-15Just use type_dependent_def_id to figure out what the method is for an exprMichael Goulet-26/+20
2024-04-15Remove TypeVariableOriginKindMichael Goulet-12/+6
2024-04-15Rollup merge of #123924 - compiler-errors:tuple-sugg, r=estebankMichael Goulet-63/+2
2024-04-15Rollup merge of #123934 - WaffleLapkin:graph-mini-refactor, r=fmease许杰友 Jieyou Xu (Joe)-18/+10
2024-04-15Use RPITIT for `Successors` and `Predecessors` traitsMaybe Waffle-3/+1
2024-04-14Make `depth_first_search` into a standalone functionMaybe Waffle-7/+8
2024-04-14Merge `{With,Graph}{Successors,Predecessors}` into `{Successors,Predecessors}`Maybe Waffle-12/+7
2024-04-14Merge `WithNumNodes` into DirectedGraphMaybe Waffle-2/+0
2024-04-14Consolidate two copies of ty_kind_suggestionMichael Goulet-63/+2
2024-04-13Auto merge of #122603 - estebank:clone-o-rama, r=lcnrbors-62/+487
2024-04-12review commentsEsteban Küber-8/+36
2024-04-12Better account for more cases involving closuresEsteban Küber-14/+36
2024-04-12Fix rebaseEsteban Küber-2/+2
2024-04-12Rollup merge of #123599 - matthiaskrgr:rm, r=cjgillotMatthias Krüger-1/+1
2024-04-11Rollup merge of #123523 - estebank:issue-123414, r=BoxyUwUMatthias Krüger-35/+54
2024-04-11remove some things that do not need to beMatthias Krüger-1/+1
2024-04-11Mention when the type of the moved value doesn't implement `Clone`Esteban Küber-2/+13
2024-04-11Account for move error in the spread operator on struct literalsEsteban Küber-11/+107
2024-04-11Better account for `FnOnce` in move errorsEsteban Küber-7/+78
2024-04-11Account for assign binops in clone suggestionsEsteban Küber-2/+32
2024-04-11When possible, suggest cloning the result of a call instead of an argumentEsteban Küber-13/+92
2024-04-11Do not recomment cloning explicit `&mut` expressionsEsteban Küber-0/+5
2024-04-11Fix accuracy of `T: Clone` check in suggestionEsteban Küber-0/+1
2024-04-11Remove unnecessary argument from `suggest_cloning`Esteban Küber-21/+9
2024-04-11Silence redundant clone suggestionEsteban Küber-0/+5