]>
git.proxmox.com Git - rustc.git/blob - tests/ui/codemap_tests/overlapping_inherent_impls.rs
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