Files
rust/tests/ui
Samuel Tardieu 5a8a577345 Fix infinite_loop wrong suggestion inside conditional branches (#16619)
Fix rust-lang/rust-clippy#16155

Suppress the `-> !` suggestion when the loop is inside a conditional
where not all branches diverge. When every branch does diverge (e.g. `if
cond { loop {} } else { loop {} }`), the suggestion is still emitted.

changelog: [`infinite_loop`]: Fix wrong suggestion to add `-> !` when
the loop is inside a conditional branch
2026-03-05 12:44:30 +00:00
..
2025-11-12 14:43:05 +01:00
2026-03-03 23:24:00 +01:00
2025-06-18 10:20:46 +02:00
2025-10-11 20:50:21 +00:00
2025-10-11 20:50:21 +00:00
2025-07-13 13:50:01 +00:00
2025-07-13 13:50:01 +00:00
2025-11-08 13:50:48 -05:00
2025-11-08 13:50:48 -05:00
2025-11-08 13:50:48 -05:00