]>
git.proxmox.com Git - rustc.git/blob - tests/ui/traits/impl-can-not-have-untraitful-items.rs
4 const BAR
: () = (); //~ ERROR const `BAR` is not a member of trait `A`
5 type Baz
= (); //~ ERROR type `Baz` is not a member of trait `A`
6 fn foo(&self) { }
//~ ERROR method `foo` is not a member of trait `A`