diff options
Diffstat (limited to 'src/test/ui/cross-crate/auxiliary/cci_no_inline_lib.rs')
-rw-r--r-- | src/test/ui/cross-crate/auxiliary/cci_no_inline_lib.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/cross-crate/auxiliary/cci_no_inline_lib.rs b/src/test/ui/cross-crate/auxiliary/cci_no_inline_lib.rs deleted file mode 100644 index 177dba217..000000000 --- a/src/test/ui/cross-crate/auxiliary/cci_no_inline_lib.rs +++ /dev/null @@ -1,12 +0,0 @@ -#![crate_name="cci_no_inline_lib"] - - -// same as cci_iter_lib, more-or-less, but not marked inline -pub fn iter<F>(v: Vec<usize> , mut f: F) where F: FnMut(usize) { - let mut i = 0; - let n = v.len(); - while i < n { - f(v[i]); - i += 1; - } -} |