2012-06-14 19:55:11 -05:00
|
|
|
// xfail-test
|
2012-09-05 14:32:05 -05:00
|
|
|
use iter::base_iter;
|
2012-06-14 19:55:11 -05:00
|
|
|
|
|
|
|
impl Q<A> for base_iter<A> {
|
2012-06-29 18:26:56 -05:00
|
|
|
fn flat_map_to_vec<B:copy, IB:base_iter<B>>(op: fn(B) -> IB) -> ~[B] {
|
2012-06-14 19:55:11 -05:00
|
|
|
iter::flat_map_to_vec(self, op)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|