blob: dfcd5728751b6b5bbf5a02a5bcc51f986e0d6e34 [file]
#![feature(no_core)]
#![no_core]
trait Tr {
fn foo();
fn bar(&self) {
self.foo()
// { dg-error "no method named .foo. found in the current scope .E0599." "" { target *-*-* } .-1 }
}
}