about summary refs log tree commit diff
path: root/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr')
-rw-r--r--src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr
index 8efbf7f78d9..34e09da45ad 100644
--- a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr
+++ b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr
@@ -1,13 +1,13 @@
 error: return type should be `!`
   --> $DIR/alloc-error-handler-bad-signature-1.rs:12:6
    |
-LL | ) -> () //~ ERROR return type should be `!`
+LL | ) -> ()
    |      ^^
 
 error: argument should be `Layout`
   --> $DIR/alloc-error-handler-bad-signature-1.rs:11:11
    |
-LL |     info: &Layout, //~ ERROR argument should be `Layout`
+LL |     info: &Layout,
    |           ^^^^^^^
 
 error: aborting due to 2 previous errors