diff options
Diffstat (limited to 'tests/ui/let_underscore_future.rs')
| -rw-r--r-- | tests/ui/let_underscore_future.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/let_underscore_future.rs b/tests/ui/let_underscore_future.rs index 873ae667ab7..c2185e9785d 100644 --- a/tests/ui/let_underscore_future.rs +++ b/tests/ui/let_underscore_future.rs @@ -9,8 +9,6 @@ fn custom() -> impl Future<Output = ()> { } fn do_something_to_future(future: &mut impl Future<Output = ()>) {} -//~^ ERROR: this argument is a mutable reference, but not used mutably -//~| NOTE: `-D clippy::needless-pass-by-ref-mut` implied by `-D warnings` fn main() { let _ = some_async_fn(); |
