rust/tests/ui/span/E0046.rs

12 lines
94 B
Rust

trait Foo {
fn foo();
}
struct Bar;
impl Foo for Bar {}
//~^ ERROR E0046
fn main() {
}