summary refs log tree commit diff
path: root/tests/ui/moves
AgeCommit message (Expand)AuthorLines
2025-07-25Mention type that could be `Clone` but isn't in more casesEsteban Küber-0/+8
2025-07-21Generalize logic pointing at binding moved into closureEsteban Küber-2/+4
2025-06-24Suggest cloning `Arc` moved into closureEsteban Küber-1/+117
2025-06-13Unimplement unsized_localsmejrs-73/+26
2025-06-03Use non-2015 edition paths in tests that do not test for their resolutionLukas Wirth-6/+6
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-3/+3
2025-04-09Auto merge of #139555 - petrochenkov:errkind-ann, r=jieyouxubors-24/+24
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-24/+24
2025-04-07compiletest: Avoid ignoring empty diagnostics in one more placeVadim Petrochenkov-7/+11
2025-03-19Fix next solver handling of shallow trait impl checkOli Scherer-2/+39
2025-03-19Demonstrate next-solver missing diagnosticOli Scherer-12/+33
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-1/+1
2025-02-14Use underline suggestions for purely 'additive' replacementsMichael Goulet-3/+2
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-6/+9
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