Sign in
fuchsia
/
third_party
/
rust
/
a8aa5114bf13d9c6b2b870c5bf63eab8e70a0018
/
.
/
src
/
test
/
ui
/
issues
/
issue-53498.rs
blob: c87d423649233b20431af9bd6732995bf9ff3339 [
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 method `foo` is private
}