]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/unboxed-closures-infer-argument-types-with-bound-regions-from-expected-bound.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / unboxed-closures-infer-argument-types-with-bound-regions-from-expected-bound.rs
index b279eb5fbba90284514ce96ae448a8d144586919..8497bf7f987a09ead3476071ea2bc061e6fc315c 100644 (file)
@@ -13,6 +13,8 @@
 
 #![feature(unboxed_closures)]
 
+use std::num::ToPrimitive;
+
 fn doit<T,F>(val: T, f: &F)
     where F : Fn(&T)
 {