// xfail-test import iter; import iter::base_iter; impl Q for base_iter { fn flat_map_to_vec>(op: fn(B) -> IB) -> ~[B] { iter::flat_map_to_vec(self, op) } } fn main() {}