diff options
Diffstat (limited to 'tests/ui/const-generics/suggest_const_for_array.rs')
| -rw-r--r-- | tests/ui/const-generics/suggest_const_for_array.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/const-generics/suggest_const_for_array.rs b/tests/ui/const-generics/suggest_const_for_array.rs index 4d29d069375..b52fd152f97 100644 --- a/tests/ui/const-generics/suggest_const_for_array.rs +++ b/tests/ui/const-generics/suggest_const_for_array.rs @@ -5,8 +5,6 @@ fn example<const N: usize>() {} fn other() { example::<[usize; 3]>(); //~^ ERROR type provided when a const - //~| ERROR type annotations needed example::<[usize; 4 + 5]>(); //~^ ERROR type provided when a const - //~| ERROR type annotations needed } |
