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>2023-04-04 00:09:11 +0000
committerbors <bors@rust-lang.org>2023-04-04 00:09:11 +0000
commit85d9f176b70f8228ade33bd8fd90151299c13766 (patch)
treea0608d87d7eab540bbd8e6f2ec4573df69d6bf27 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9e53b6544f77de0f4bfb64413014c9ebd832d133 (diff)
parenta37eb4dfc97cdcbd177ccc0fda1909014b145635 (diff)
downloadrust-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