about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
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
commit87bb18e7c2069c1e2aaa5b0735f1453b707f58f9 (patch)
treeb2968d92d794519f84c6a89453ced5101693d2b0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parente165c129324c48a54d321b2dd77e2ff4c7ee9739 (diff)
parent9c2d52fabea21072029730cd895b8181afbc7f4e (diff)
downloadrust-87bb18e7c2069c1e2aaa5b0735f1453b707f58f9.tar.gz
rust-87bb18e7c2069c1e2aaa5b0735f1453b707f58f9.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 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions