about summary refs log tree commit diff
path: root/src/librustdoc/markdown.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-03 21:44:10 +0000
committerbors <bors@rust-lang.org>2021-10-03 21:44:10 +0000
commite737694a4d66b01308b73d4559a35b43e414faf9 (patch)
treef8ff047f173d115e77bcc349a0bb2d3bbaf0e77b /src/librustdoc/markdown.rs
parent9dbb26efe8a886f7bba94c2b996c9535ce07f917 (diff)
parent67ea84d97a49434431b45a5b34f867df18f33116 (diff)
downloadrust-e737694a4d66b01308b73d4559a35b43e414faf9.tar.gz
rust-e737694a4d66b01308b73d4559a35b43e414faf9.zip
Auto merge of #88175 - camsteffen:let-desugar-span, r=Manishearth
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`
Diffstat (limited to 'src/librustdoc/markdown.rs')
0 files changed, 0 insertions, 0 deletions