about summary refs log tree commit diff
path: root/tests/ui/augmented-assignments.rs
AgeCommit message (Collapse)AuthorLines
2025-04-19tests: adjust some `augmented-assignment*` testsJieyou Xu-28/+0
- `tests/ui/augmented-assignment-feature-gate-cross.rs`: - This was *originally* to feature-gate overloaded OpAssign cross-crate, but now let's keep it as a smoke test. - Renamed as `augmented-assignment-cross-crate.rs`. - Relocated under `tests/ui/binop/`. - `tests/ui/augmented-assignments.rs`: - Documented test intent. - Moved under `tests/ui/borrowck/`. - `tests/ui/augmented-assignment-rpass.rs`: - Renamed to drop the `-rpass` suffix, since this was leftover from when `run-pass` test suite was a thing. - Moved under `tests/ui/binop/`.
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-2/+2
2024-07-26Peel off explicit (or implicit) deref before suggesting clone on move error ↵Michael Goulet-1/+0
in borrowck
2024-04-11Account for assign binops in clone suggestionsEsteban Küber-1/+1
Explicitly look for `expr += other_expr;` and avoid suggesting `expr.clone() += other_expr;`, instead suggesting `expr += other_expr.clone();`.
2024-04-11Update test to show incorrecct `+=` clone suggestionEsteban Küber-0/+2
2023-01-15Tweak E0597Esteban Küber-1/+1
CC #99430
2023-01-11Move /src/test to /testsAlbert Larsan-0/+27