diff options
author | Till Höppner | 2016-03-09 16:59:15 +0100 |
---|---|---|
committer | Till Höppner | 2016-03-09 17:01:04 +0100 |
commit | eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd (patch) | |
tree | 4af753d758b1349b105d4b79dc2ac740cff28581 /warning.rs | |
parent | e15f184edc228b991ee87ca39a6a177e6938d9c6 (diff) | |
download | ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.gz ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.xz ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.zip |
Allow ARM failure
Diffstat (limited to 'warning.rs')
-rw-r--r-- | warning.rs | 11 |
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); + } +} |