Files
rust/tests/ui/impl-trait
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-05-09 02:35:18 +00:00
2026-05-02 21:07:23 +08:00
2026-03-28 16:18:11 +09:00
2025-11-27 11:19:00 -05:00
2025-06-30 11:50:19 +05:00
2024-06-13 10:41:52 +00:00
2024-04-08 15:00:03 +00:00
2024-08-17 12:43:25 -04:00
2024-06-19 08:28:31 +00:00
2024-06-19 08:28:31 +00:00
2026-05-02 21:07:23 +08:00
2024-06-19 08:40:29 +00:00
2026-05-02 21:07:23 +08:00
2025-08-20 11:10:38 +02:00
2025-11-27 14:13:58 -05:00
2025-11-27 14:13:58 -05:00