diff options
Diffstat (limited to 'tests/ui/const-generics/const-param-in-async.rs')
| -rw-r--r-- | tests/ui/const-generics/const-param-in-async.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/const-generics/const-param-in-async.rs b/tests/ui/const-generics/const-param-in-async.rs index f823431e69b..a6d4b2605cd 100644 --- a/tests/ui/const-generics/const-param-in-async.rs +++ b/tests/ui/const-generics/const-param-in-async.rs @@ -1,5 +1,5 @@ -// edition:2018 -// check-pass +//@ edition:2018 +//@ check-pass async fn foo<const N: usize>(arg: [u8; N]) -> usize { arg.len() } |
