about summary refs log tree commit diff
path: root/src/test/ui/hashmap/hashmap-index-mut.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/hashmap/hashmap-index-mut.rs')
-rw-r--r--src/test/ui/hashmap/hashmap-index-mut.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/hashmap/hashmap-index-mut.rs b/src/test/ui/hashmap/hashmap-index-mut.rs
deleted file mode 100644
index 98448e9d5f0..00000000000
--- a/src/test/ui/hashmap/hashmap-index-mut.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-use std::collections::HashMap;
-
-fn main() {
-    let mut map = HashMap::<u32, u32>::new();
-    map[&0] = 1; //~ ERROR cannot assign
-}