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

15 lines
125 B
Rust
Raw Normal View History

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