summaryrefslogtreecommitdiffstats
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.stderr14
1 files changed, 14 insertions, 0 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
new file mode 100644
index 000000000..34e09da45
--- /dev/null
+++ b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr
@@ -0,0 +1,14 @@
+error: return type should be `!`
+ --> $DIR/alloc-error-handler-bad-signature-1.rs:12:6
+ |
+LL | ) -> ()
+ | ^^
+
+error: argument should be `Layout`
+ --> $DIR/alloc-error-handler-bad-signature-1.rs:11:11
+ |
+LL | info: &Layout,
+ | ^^^^^^^
+
+error: aborting due to 2 previous errors
+