diff options
Diffstat (limited to 'tests/ui/async-await/no-move-across-await-struct.rs')
| -rw-r--r-- | tests/ui/async-await/no-move-across-await-struct.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/async-await/no-move-across-await-struct.rs b/tests/ui/async-await/no-move-across-await-struct.rs index 51c9a42b3f4..4087b292648 100644 --- a/tests/ui/async-await/no-move-across-await-struct.rs +++ b/tests/ui/async-await/no-move-across-await-struct.rs @@ -1,5 +1,5 @@ -// edition:2018 -// compile-flags: --crate-type lib +//@ edition:2018 +//@ compile-flags: --crate-type lib async fn no_move_across_await_struct() -> Vec<usize> { let s = Small { x: vec![31], y: vec![19, 1441] }; |
