Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
error-codes
/
E0034.rs
blob: f962da115e0e874624cfcf3d689bdd54c1f13476 [
file
] [
log
] [
blame
] [
edit
]
struct
Test
;
trait
Trait1
{
fn
foo
();
}
trait
Trait2
{
fn
foo
();
}
impl
Trait1
for
Test
{
fn
foo
()
{}
}
impl
Trait2
for
Test
{
fn
foo
()
{}
}
fn
main
()
{
Test
::
foo
()
//~ ERROR multiple applicable items in scope
}