Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
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
()
{}