about summary refs log tree commit diff
path: root/tests/ui/error-codes/E0428.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0428.rs')
-rw-r--r--tests/ui/error-codes/E0428.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0428.rs b/tests/ui/error-codes/E0428.rs
index eb9594fb8b6..08393b009d5 100644
--- a/tests/ui/error-codes/E0428.rs
+++ b/tests/ui/error-codes/E0428.rs
@@ -1,4 +1,6 @@
-struct Bar; //~ previous definition of the type `Bar` here
+//@ dont-require-annotations: NOTE
+
+struct Bar; //~ NOTE previous definition of the type `Bar` here
 struct Bar; //~ ERROR E0428
 
 fn main () {