rustc: disallow duplicate methods in trait impls

Closes #8153
remove duplicate methods in impls