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

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

15 lines
125 B
Rust
Raw Normal View History

2016-08-15 19:58:28 +08:00
trait Foo {
fn a();
}
struct Bar;
impl Foo for Bar {
fn a() {}
fn b() {}
//~^ ERROR E0407
2016-08-15 19:58:28 +08:00
}
fn main() {
}