]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-18446.rs
1 // Test that name clashes between the method in an impl for the type
2 // and the method in the trait when both are in the same scope.
17 let x
: &dyn T
= &0i32;
18 x
.foo(); //~ ERROR multiple applicable items in scope [E0034]