Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
auxiliary
/
issue-11225-1.rs
blob: 2c6f899a0f49a74f203600c5e5ec8524df38baa5 [
file
] [
log
] [
blame
]
mod
inner
{
pub
trait
Trait
{
fn
f
(&
self
)
{
f
();
}
fn
f_ufcs
(&
self
)
{
f_ufcs
();
}
}
impl
Trait
for
isize
{}
fn
f
()
{}
fn
f_ufcs
()
{}
}
pub
fn
foo
<
T
:
inner
::
Trait
>(
t
:
T
)
{
t
.
f
();
}
pub
fn
foo_ufcs
<
T
:
inner
::
Trait
>(
t
:
T
)
{
T
::
f_ufcs
(&
t
);
}