mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
85d9f176b7
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |