about summary refs log tree commit diff
path: root/tests/ui/moves
AgeCommit message (Expand)AuthorLines
2025-01-06Remove CallKind::Deref hack from UseSpansMichael Goulet-2/+2
2024-12-31Rollup merge of #133486 - dianne:fix-move-error-suggestion, r=estebankTrevor Gross-0/+38
2024-12-24Fix some typosfudancoder-5/+5
2024-12-07Mention type parameter in more cases and don't suggest ~const bound already t...Esteban Küber-10/+10
2024-12-07Use trait name instead of full constraint in suggestion messageEsteban Küber-5/+5
2024-12-07reword trait bound suggestion message to include the boundsEsteban Küber-11/+11
2024-11-25`add_move_error_suggestions`: use a HIR visitor rather than `SourceMap`dianne-0/+38
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-1/+0
2024-11-17`suggest_borrow_generic_arg`: instantiate clauses properlydianne-4/+50
2024-11-13Suggest borrowing arguments in generic positions when trait bounds are satisfieddianne-121/+170
2024-11-13Use a common subdiagnostic format for generic borrowsdianne-16/+16
2024-11-13Provide borrow-instead-of-move suggestions for calls of fn-like items from ot...dianne-0/+130
2024-07-26Peel off explicit (or implicit) deref before suggesting clone on move error i...Michael Goulet-9/+0
2024-07-11Rollup merge of #124599 - estebank:issue-41708, r=wesleywiserMatthias Krüger-0/+153
2024-06-20Fix `...` in multline code-skips in suggestionsEsteban Küber-2/+2
2024-05-09Suggest borrowing on fn argument that is `impl AsRef`Esteban Küber-0/+153
2024-04-24Mention when type parameter could be `Clone`Esteban Küber-32/+115
2024-04-15Make array suggestions slightly more accurateMichael Goulet-2/+2
2024-04-15Use /* value */ as a placeholderMichael Goulet-8/+8
2024-04-13Auto merge of #122603 - estebank:clone-o-rama, r=lcnrbors-16/+77
2024-04-12Better account for more cases involving closuresEsteban Küber-3/+10
2024-04-11Mention when the type of the moved value doesn't implement `Clone`Esteban Küber-6/+51
2024-04-11Silence redundant clone suggestionEsteban Küber-5/+20
2024-04-11Suggest `.clone()` in some move errorsEsteban Küber-21/+15
2024-04-11Account for `.clone()` when suggesting `<T as Clone>::clone`Esteban Küber-6/+6
2024-04-10Handle more cases of value suggestionsEsteban Küber-2/+2
2024-04-09Tweak value suggestions in `borrowck` and `hir_analysis`Esteban Küber-8/+8
2024-03-17Add `HELP` to testEsteban Küber-6/+21
2024-03-17Point at `continue` and `break` that might be in the wrong placeEsteban Küber-10/+95
2024-03-17Detect when move of `!Copy` value occurs within `loop` and should likely not ...Esteban Küber-1/+256
2024-03-06compiletest: Add a `//@ needs-threads` directiveAlex Crichton-1/+1
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-32/+32
2024-02-07Update testsr0cky-1/+14
2024-01-13Make InferCtxtExt::could_impl_trait less messed upMichael Goulet-2/+12
2023-12-10remove redundant importssurechen-2/+0
2023-12-07recurse into refs when comparing tys for diagnosticsjyn-2/+2
2023-12-04Fix rebaseEsteban Küber-3/+3
2023-12-04On "this .clone() is on the reference", provide more infoEsteban Küber-0/+84
2023-12-04Tweak output on specific caseEsteban Küber-1/+1
2023-12-04Suggest cloning and point out obligation errors on move errorEsteban Küber-0/+86
2023-12-04Tweak `.clone()` suggestion to work in more casesEsteban Küber-3/+57
2023-11-24Show number in error message even for one errorNilstrieb-24/+24
2023-08-28Move testsCaio-0/+96
2023-08-04Account for `Rc` and `Arc` when suggesting to cloneEsteban Küber-1/+1
2023-07-10Fix another strange suggestion spanMichael Goulet-2/+2
2023-07-10Don't use method span on clone suggestionMichael Goulet-7/+7
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet-4/+3
2023-02-16Move testsCaio-0/+28
2023-01-28Also erase substs for new infcx in pin move errorNilstrieb-0/+42
2023-01-17Account for method call and indexing when looking for inner-most path in expr...Esteban Küber-0/+2