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>2024-03-25 19:56:18 +0000
committerbors <bors@rust-lang.org>2024-03-25 19:56:18 +0000
commit4ef57d3a709d033fa0791ba20d2766a145f8cc03 (patch)
tree992372db608dbd6231471f0653a97bb6561c8b2f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentc3948d16b928616407f1eac19bfea9ba9e2df16e (diff)
parent9e82ad87b9ae43bee6f06308631fbe0fb0a1c847 (diff)
downloadrust-4ef57d3a709d033fa0791ba20d2766a145f8cc03.tar.gz
rust-4ef57d3a709d033fa0791ba20d2766a145f8cc03.zip
Auto merge of #12558 - y21:issue9150, r=xFrednet
[`let_and_return`]: avoid linting when code between last stmt and return expr is cfg'd out

Fixes #9150

This moves `span_contains_cfg` to utils and starts using it in `let_and_return` as well.

changelog: [`let_and_return`]: avoid linting when code between the last statement and the final return expression is `#[cfg]`ed out
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions