diff options
| author | bors <bors@rust-lang.org> | 2024-03-25 19:56:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-25 19:56:18 +0000 |
| commit | 4ef57d3a709d033fa0791ba20d2766a145f8cc03 (patch) | |
| tree | 992372db608dbd6231471f0653a97bb6561c8b2f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | c3948d16b928616407f1eac19bfea9ba9e2df16e (diff) | |
| parent | 9e82ad87b9ae43bee6f06308631fbe0fb0a1c847 (diff) | |
| download | rust-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
