]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-duplicate-methods.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[rust.git] / src / test / ui / impl-duplicate-methods.rs
1 struct Foo;
2
3 impl Foo {
4     fn orange(&self) {}
5     fn orange(&self) {}
6     //~^ ERROR duplicate definition
7 }
8
9 fn main() {}