about summary refs log tree commit diff
path: root/tests/ui/allocator/allocator-args.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/allocator/allocator-args.stderr')
-rw-r--r--tests/ui/allocator/allocator-args.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/allocator/allocator-args.stderr b/tests/ui/allocator/allocator-args.stderr
new file mode 100644
index 00000000000..dfff2a7e709
--- /dev/null
+++ b/tests/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
+