mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
e737694a4d
Add expansion to while desugar spans In the same vein as #88163, this reverts a change in Clippy behavior as a result of #80357 (and reverts some `#[allow]`s): This changes `clippy::blocks_in_if_conditions` to not fire on `while` loops. Though we might actually want Clippy to lint those cases, we should introduce the change purposefully, with tests, and possibly under a different lint name. The actual change here is to add a desugaring expansion to the spans when lowering a `while` loop. r? `@Manishearth` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |