]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/duplicate-methods.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / traits / duplicate-methods.rs
1 trait Foo {
2     fn orange(&self);
3     fn orange(&self); //~ ERROR the name `orange` is defined multiple times
4 }
5
6 fn main() {}