Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
methods
/
method-ambig-two-traits-from-impls2.rs
blob: 0a96c1223da36a475e769f0aa1880a59bd3b2227 [
file
] [
log
] [
blame
]
trait
A
{
fn
foo
();
}
trait
B
{
fn
foo
();
}
struct
AB
{}
impl
A
for
AB
{
fn
foo
()
{}
}
impl
B
for
AB
{
fn
foo
()
{}
}
fn
main
()
{
AB
::
foo
();
//~ ERROR E0034
}