Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-53498.rs
blob: 9e0437c46f4bdd826f7f79373826837ed542bef5 [
file
] [
log
] [
blame
]
pub
mod
test
{
pub
struct
A
;
pub
struct
B
;
pub
struct
Foo
<
T
>(
T
);
impl
Foo
<
A
>
{
fn
foo
()
{}
}
impl
Foo
<
B
>
{
fn
foo
()
{}
}
}
fn
main
()
{
test
::
Foo
::<
test
::
B
>::
foo
();
//~ ERROR associated function `foo` is private
}