Sign in
fuchsia
/
third_party
/
rust
/
a7c34f1ce99887675f3d79740e2c9f739a89fe45
/
.
/
src
/
test
/
ui
/
impl-duplicate-methods.rs
blob: adb09d7f56e93dd9c106fbc1361b3d8de0e41429 [
file
] [
log
] [
blame
]
struct
Foo
;
impl
Foo
{
fn
orange
(&
self
)
{}
fn
orange
(&
self
)
{}
//~^ ERROR duplicate definition
}
fn
main
()
{}