diff options
Diffstat (limited to 'src/test/ui/cross-crate/auxiliary/cci_iter_lib.rs')
-rw-r--r-- | src/test/ui/cross-crate/auxiliary/cci_iter_lib.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/cross-crate/auxiliary/cci_iter_lib.rs b/src/test/ui/cross-crate/auxiliary/cci_iter_lib.rs deleted file mode 100644 index 60c36bc7d..000000000 --- a/src/test/ui/cross-crate/auxiliary/cci_iter_lib.rs +++ /dev/null @@ -1,11 +0,0 @@ -#![crate_name="cci_iter_lib"] - -#[inline] -pub fn iter<T, F>(v: &[T], mut f: F) where F: FnMut(&T) { - let mut i = 0; - let n = v.len(); - while i < n { - f(&v[i]); - i += 1; - } -} |