summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/issue-83469-global-alloc-invalid-stmt.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/proc-macro/issue-83469-global-alloc-invalid-stmt.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/issue-83469-global-alloc-invalid-stmt.stderr b/src/test/ui/proc-macro/issue-83469-global-alloc-invalid-stmt.stderr
new file mode 100644
index 000000000..ec0e3c4c7
--- /dev/null
+++ b/src/test/ui/proc-macro/issue-83469-global-alloc-invalid-stmt.stderr
@@ -0,0 +1,8 @@
+error: allocators must be statics
+ --> $DIR/issue-83469-global-alloc-invalid-stmt.rs:7:5
+ |
+LL | fn inner() {}
+ | ^^^^^^^^^^^^^
+
+error: aborting due to previous error
+