about summary refs log tree commit diff
path: root/src/test/ui/moves
AgeCommit message (Expand)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-2569/+0
2022-12-25Remove redundant clone suggestionEsteban Küber-20/+0
2022-12-25Create new inference contextEsteban Küber-0/+24
2022-12-23Verify receiver is of `self: Pin<&mut Self>`Esteban Küber-4/+0
2022-12-23Suggest `.clone()` on method call move errorsEsteban Küber-0/+44
2022-12-23Suggest `Pin::as_mut` when encountering borrow errorEsteban Küber-0/+57
2022-12-13Rollup merge of #105500 - oli-obk:unhide_unknown_spans, r=estebankMatthias Krüger-24/+9
2022-12-13Account for dereference expressionsEsteban Küber-12/+16
2022-12-13Suggest `ref` for some patterns as a fallbackEsteban Küber-4/+30
2022-12-13Change pattern borrowing suggestions to be verboseEsteban Küber-22/+44
2022-12-13Stop pointing to operators if their libcore method source is not availableOli Scherer-4/+1
2022-12-13Clarify what "this" meansOli Scherer-9/+9
2022-12-13Make some diagnostics not depend on the source of what they reference being a...Oli Scherer-15/+3
2022-11-23Account for closuresEsteban Küber-7/+0
2022-11-23review comments: inline bindings and fix typoEsteban Küber-7/+7
2022-11-23Fix wordingEsteban Küber-7/+7
2022-11-23Tweak output in for loopsEsteban Küber-4/+0
2022-11-23Remove logic duplicationEsteban Küber-7/+7
2022-11-23Suggest `.clone()` or `ref binding` on E0382Esteban Küber-6/+177
2022-11-05Adjust diagnostics, bless testsMichael Goulet-2/+2
2022-10-01bless ui testsMaybe Waffle-1/+1
2022-09-26fix #102087, Suggest Default::default() when binding isn't initializedyukang-0/+19
2022-09-06Shrink span for bindings with subpatterns.Camille GILLOT-6/+6
2022-07-31Improve `cannot move out of` error messageObei Sideg-1/+26
2022-07-19Mention first and last macro in backtraceMichael Goulet-1/+1
2022-07-15Auto merge of #98203 - kckeiks:gather-body-owners-in-hir-item-queries, r=cjgi...bors-14/+14
2022-07-13use gathered body_owners in par_body_ownersMiguel Guarniz-14/+14
2022-07-08Auto merge of #98482 - cjgillot:short-struct-span-closure, r=estebankbors-3/+2
2022-07-07Tweak wording and spansEsteban Küber-11/+11
2022-07-07On partial uninit error point at where we need initEsteban Küber-16/+25
2022-07-07Shorten span for closures.Camille GILLOT-3/+2
2022-07-01Shorten def_span for more items.Camille GILLOT-2/+2
2022-06-02On E0204 suggest missing type param boundsEsteban Küber-10/+10
2022-04-30Save colon span to suggest bounds.Camille GILLOT-3/+3
2022-04-30Bless tests.Camille GILLOT-22/+22
2022-04-12Add test for `T:` suggestionsMaybe Waffle-1/+61
2022-03-28Suggest function borrow ignoring needs_noteMichael Goulet-2/+23
2022-03-28Add suggestion to borrow opaque Fn and FnMut instead of moveMichael Goulet-3/+71
2022-03-03Tweak move errorEsteban Kuber-12/+8
2022-03-01Use rustfix in copy suggestion testMaybe Waffle-25/+119
2022-03-01Add a test for Adt copy suggestionsMaybe Waffle-0/+216
2021-11-28Rollup merge of #90131 - camsteffen:fmt-args-span-fix, r=cjgillotMatthias Krüger-0/+2
2021-11-13Sanity check for move from an uninit variable whose address is takenDylan MacKenzie-0/+23
2021-10-29Fix a format_args span to be expansionCameron Steffen-0/+2
2021-09-30Auto merge of #87998 - nneonneo:master, r=oli-obkbors-0/+132
2021-09-30Auto merge of #89110 - Aaron1011:adjustment-span, r=estebankbors-1/+1
2021-09-26Remove box syntax from most places in src/test outside of the issues direst31-54/+45
2021-09-25Use larger span for adjustments on method callsAaron Hill-1/+1
2021-09-15Point to closure when emitting 'cannot move out' for captured variableFabian Wolff-1/+4
2021-09-09Ignore automatically derived impls of `Clone` and `Debug` in dead code analysisFabian Wolff-0/+2