diff options
| author | bors <bors@rust-lang.org> | 2023-04-04 00:09:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-04 00:09:11 +0000 |
| commit | 85d9f176b70f8228ade33bd8fd90151299c13766 (patch) | |
| tree | a0608d87d7eab540bbd8e6f2ec4573df69d6bf27 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 9e53b6544f77de0f4bfb64413014c9ebd832d133 (diff) | |
| parent | a37eb4dfc97cdcbd177ccc0fda1909014b145635 (diff) | |
| download | rust-85d9f176b70f8228ade33bd8fd90151299c13766.tar.gz rust-85d9f176b70f8228ade33bd8fd90151299c13766.zip | |
Auto merge of #10589 - blyxyas:fix-double_must_use, r=giraffate
Mini-fix `double_must_use` for async functions From Rust 1.67 onwards, the `#[must_use]` attribute also applies to the `Future::Output` (rust-lang/rust#100633). So the lint `double_must_use` was linting all async functions. This PR changes the `double_must_use` lint so it ignores `async` functions. --- Closes #10486 changelog: [`double_must_use`]: Fix false positive in async function
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
