aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/mutable.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/mutable.stderr')
-rw-r--r--tests/ui/mutable.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/mutable.stderr b/tests/ui/mutable.stderr
new file mode 100644
index 0000000..c23e194
--- /dev/null
+++ b/tests/ui/mutable.stderr
@@ -0,0 +1,11 @@
+error: static mut is not supported by distributed_slice
+ --> tests/ui/mutable.rs:6:12
+ |
+6 | pub static mut SLICE: [i32] = [..];
+ | ^^^
+
+error: static mut is not supported by distributed_slice
+ --> tests/ui/mutable.rs:9:8
+ |
+9 | static mut ELEMENT: i32 = -1;
+ | ^^^