Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
ui
/
typeck
/
issue-107087.rs
blob: 135cdf19e3e3e417b81bd27465df5e5b365d252a [
file
] [
log
] [
blame
]
struct
A
<
T
>(
T
);
trait
Foo
{
type
B
;
}
impl
Foo
for
A
<
u32
>
{
type
B
=
i32
;
}
impl
Foo
for
A
<
i32
>
{
type
B
=
i32
;
}
fn
main
()
{
A
::
B
::<>::
C
//~^ ERROR ambiguous associated type
}