summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const_let_assign.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const_let_assign.rs')
-rw-r--r--src/test/ui/consts/const_let_assign.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/consts/const_let_assign.rs b/src/test/ui/consts/const_let_assign.rs
deleted file mode 100644
index b83acfb73..000000000
--- a/src/test/ui/consts/const_let_assign.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// check-pass
-
-struct S(i32);
-
-const A: () = {
- let mut s = S(0);
- s.0 = 1;
-};
-
-fn main() {}