summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0194.rs
blob: 8a43f38fcfd5ff159999c51a32c72d4c4fd73b6b (plain)
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() {
}