aboutsummaryrefslogtreecommitdiff
path: root/warning.rs
diff options
context:
space:
mode:
authorTill Höppner2016-03-09 16:59:15 +0100
committerTill Höppner2016-03-09 17:01:04 +0100
commiteca90a051b4daebe12a8421c6c4f57d5b5b9fbbd (patch)
tree4af753d758b1349b105d4b79dc2ac740cff28581 /warning.rs
parente15f184edc228b991ee87ca39a6a177e6938d9c6 (diff)
downloadilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.gz
ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.xz
ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.zip
Allow ARM failure
Diffstat (limited to 'warning.rs')
-rw-r--r--warning.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/warning.rs b/warning.rs
new file mode 100644
index 0000000..a71bc3f
--- /dev/null
+++ b/warning.rs
@@ -0,0 +1,11 @@
+use std::iter;
+
+fn main() {
+ let mut v = (0..20)
+ .map(|_| iter::empty::<()>())
+ .collect::<Vec<_>>();
+
+ for i in 1..8 {
+ v.remove(i + 1);
+ }
+}