1 2 3 4 5 6 7 8
trait Foo<T> { fn do_something(&self) -> T; fn do_something_else<T: Clone>(&self, bar: T); //~^ ERROR E0403 } fn main() { }