blob: 0c885447bb0ee0e92cbd2b43f63ba0fb1d203914 (
plain)
1
2
3
4
5
6
7
8
9
|
trait A { }
impl A for isize {
const BAR: () = (); //~ ERROR const `BAR` is not a member of trait `A`
type Baz = (); //~ ERROR type `Baz` is not a member of trait `A`
fn foo(&self) { } //~ ERROR method `foo` is not a member of trait `A`
}
fn main() { }
|