rust/tests/ui/error-codes/E0194.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
137 B
Rust
Raw Normal View History

trait Foo<T> {
2016-06-01 14:30:13 +00:00
fn do_something(&self) -> T;
fn do_something_else<T: Clone>(&self, bar: T);
//~^ ERROR E0403
2016-06-01 14:30:13 +00:00
}
fn main() {
}