diff --git a/library/core/tests/future.rs b/library/core/tests/future.rs index 8f4a991ed2d..e8b83b5cbc2 100644 --- a/library/core/tests/future.rs +++ b/library/core/tests/future.rs @@ -78,7 +78,7 @@ async fn async_fn(_: impl Sized) {} fn _join_does_not_unnecessarily_move_mentioned_bindings() { let not_copy = vec![()]; let _ = join!(async_fn(¬_copy)); // should not move `not_copy` - let _ = not_copy; // OK + let _ = ¬_copy; // OK } #[test]