2 //~^ ERROR at least one trait must be specified
7 fn map2<F>(self, f: F) -> Map2<F> {}
8 //~^ ERROR mismatched types
9 //~^^ ERROR the size for values of type `Self` cannot be known at compilation time
12 struct Map2<Segment2> {
14 //~^ ERROR cannot find type `F` in this scope
17 impl<F> FilterBase2 for F {}