blob: adb09d7f56e93dd9c106fbc1361b3d8de0e41429 [file] [log] [blame]
struct Foo;
impl Foo {
fn orange(&self) {}
fn orange(&self) {}
//~^ ERROR duplicate definition
}
fn main() {}