summaryrefslogtreecommitdiff
path: root/ops/tests/compile_fail/mem_slices.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'ops/tests/compile_fail/mem_slices.stderr')
-rw-r--r--ops/tests/compile_fail/mem_slices.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/ops/tests/compile_fail/mem_slices.stderr b/ops/tests/compile_fail/mem_slices.stderr
new file mode 100644
index 000000000..c45acfcf9
--- /dev/null
+++ b/ops/tests/compile_fail/mem_slices.stderr
@@ -0,0 +1,15 @@
+error: custom attribute panicked
+ --> tests/compile_fail/mem_slices.rs:10:1
+ |
+10 | #[op]
+ | ^^^^^
+ |
+ = help: message: Memory slices are not allowed in async ops
+
+error: custom attribute panicked
+ --> tests/compile_fail/mem_slices.rs:15:1
+ |
+15 | #[op]
+ | ^^^^^
+ |
+ = help: message: Memory slices are not allowed in async ops