blob: 8f36011d41f97b57fa1a33a1c65956794e57e3c3 [file] [log] [blame] [edit]
struct Qux;
trait Foo {
fn foo();
}
trait FooBar {
fn foo() {}
}
fn main() {
Qux.foo();
//~^ ERROR no method named `foo` found for struct `Qux` in the current scope
}