Files
rust/tests/ui
Jason Newcomb beaf15532a while_let_loop: Include let assignment in suggestion (#14756)
Placeholders are still given for the content of the whole block.
However, if the result of the original `if let` or `match` expression
was assigned, the assignment is reflected in the suggestion.

No-op assignments (`let x = x;`) are skipped though, unless they contain
an explicit type which might help the compiler (`let x: u32 = x;` is
kept).

Closes rust-lang/rust-clippy#362

changelog: [`while_let_loop`]: include `let` assignment in suggestion
2025-05-28 16:26:14 +00:00
..
2025-05-21 23:44:28 +02:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:43 +01:00
2025-05-06 14:07:39 +00:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-05-09 19:25:55 +07:00
2025-05-09 19:25:55 +07:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00
2025-02-15 13:38:42 +01:00