]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/duplicate-methods.rs
Add 'compiler/rustc_smir/' from commit '9abcb5c7b574cf316eb23d3f469187bb86ba3019'
[rust.git] / src / test / 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() {}