about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2024-04-15Just use type_dependent_def_id to figure out what the method is for an exprMichael Goulet-26/+20
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/+481
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/+72
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
2024-04-11More move error suggestions to cloneEsteban Küber-0/+4
2024-04-11Suggest `.clone()` in some move errorsEsteban Küber-0/+10
2024-04-11Account for unops when suggesting cloningEsteban Küber-19/+24
2024-04-11Suggest `.clone()` when moved while borrowedEsteban Küber-17/+56
2024-04-11Account for `.clone()` when suggesting `<T as Clone>::clone`Esteban Küber-2/+33
2024-04-11Rollup merge of #123704 - estebank:diag-changes, r=compiler-errorsMatthias Krüger-26/+70
2024-04-10Handle more cases of "values to suggest" given a typeEsteban Küber-3/+16
2024-04-10Handle more cases of value suggestionsEsteban Küber-18/+51
2024-04-10Use trait solver to answer questions instead of manually writing a trait solverOli Scherer-79/+22
2024-04-09Tweak value suggestions in `borrowck` and `hir_analysis`Esteban Küber-10/+8
2024-04-06Account for trait/impl difference when suggesting changing argument from ref ...Esteban Küber-35/+54
2024-04-05Provide suggestion to dereference closure tail if appropriateEsteban Küber-4/+210
2024-03-30Stop calling visitors VMichael Goulet-3/+12
2024-03-29Rollup merge of #123188 - klensy:clippy-me2, r=NilstriebMatthias Krüger-10/+10
2024-03-28and few moreklensy-10/+10
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-10/+9
2024-03-26Rollup merge of #122589 - wutchzone:121547, r=compiler-errorsMatthias Krüger-3/+13
2024-03-23Simplify an iterator search in borrowck diagJosh Stone-11/+9
2024-03-23Fix typosDaniel Sedlak-3/+3
2024-03-23Fix diagnostics for async block cloningDaniel Sedlak-0/+10
2024-03-23Rollup merge of #122780 - GuillaumeGomez:rename-hir-local, r=oli-obkMatthias Krüger-6/+6
2024-03-22Rename `hir::Node::Local` into `hir::Node::LetStmt`Guillaume Gomez-3/+3
2024-03-22Rename `hir::Local` into `hir::LetStmt`Guillaume Gomez-5/+5
2024-03-22Make RawPtr take Ty and Mutbl separatelyMichael Goulet-5/+5
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-1/+1
2024-03-20Split item bounds and item super predicatesMichael Goulet-1/+1
2024-03-19Fix incorrect mutable suggestion information for binding in ref pattern.surechen-13/+24
2024-03-17Move `suggest_hoisting_call_outside_loop` out of `suggest_cloning`Esteban Küber-6/+3
2024-03-17Move `Visitor` impl out to the `mod` levelEsteban Küber-22/+22
2024-03-17Point at `continue` and `break` that might be in the wrong placeEsteban Küber-33/+130
2024-03-17Detect when move of `!Copy` value occurs within `loop` and should likely not ...Esteban Küber-2/+160
2024-03-15Rollup merge of #122254 - estebank:issue-48677, r=oli-obkMatthias Krüger-15/+121