Files
rust/tests/ui/impl-trait/precise-capturing
Haoran Wang b6eb265902 Keep redundant-capture suggestions syntactically valid
The lint suggestion now removes the `+` joiner adjacent to a redundant
`use<...>` clause, so applying the suggestion does not leave a dangling
`+` that fails to parse.

The existing `tests/ui/impl-trait/precise-capturing/redundant.stderr`
baseline emits the same diagnostic with the expanded suggestion span and
is blessed along with the new `run-rustfix` test.

Tested:
- ./x test tests/ui/impl-trait/precise-capturing/redundant.rs --force-rerun
- ./x test tests/ui/impl-trait/precise-capturing/redundant-machine-applicable.rs --force-rerun
- ./x test tidy
2026-05-23 19:14:47 +08:00
..
2025-06-18 10:20:43 +02:00
2025-09-28 20:55:35 +00:00