about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval/const-eval-overflow-4b.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-eval/const-eval-overflow-4b.rs')
-rw-r--r--tests/ui/consts/const-eval/const-eval-overflow-4b.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/consts/const-eval/const-eval-overflow-4b.rs b/tests/ui/consts/const-eval/const-eval-overflow-4b.rs
index ce9c980de0d..3ad23a515a7 100644
--- a/tests/ui/consts/const-eval/const-eval-overflow-4b.rs
+++ b/tests/ui/consts/const-eval/const-eval-overflow-4b.rs
@@ -3,12 +3,14 @@
 //
 // This test is checking the count in an array type.
 
+//@ dont-require-annotations: NOTE
+
 #![allow(unused_imports)]
 
 const A_I8_T
     : [u32; (i8::MAX as i8 + 1u8) as usize]
     //~^ ERROR mismatched types
-    //~| expected `i8`, found `u8`
+    //~| NOTE expected `i8`, found `u8`
     //~| ERROR cannot add `u8` to `i8`
     = [0; (i8::MAX as usize) + 1];