1 // Test that you cannot define items with the same name in overlapping inherent
9 fn id() {} //~ ERROR duplicate definitions
19 fn bar(&self) {} //~ ERROR duplicate definitions
28 impl<T: Copy> Baz<T> {
29 fn baz(&self) {} //~ ERROR duplicate definitions