summaryrefslogtreecommitdiffstats
path: root/src/test/ui/allocator/allocator-args.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/allocator/allocator-args.stderr')
-rw-r--r--src/test/ui/allocator/allocator-args.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/allocator/allocator-args.stderr b/src/test/ui/allocator/allocator-args.stderr
new file mode 100644
index 000000000..dfff2a7e7
--- /dev/null
+++ b/src/test/ui/allocator/allocator-args.stderr
@@ -0,0 +1,8 @@
+error: malformed `global_allocator` attribute input
+ --> $DIR/allocator-args.rs:10:1
+ |
+LL | #[global_allocator(malloc)]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[global_allocator]`
+
+error: aborting due to previous error
+