Sign in
fuchsia
/
third_party
/
rust
/
f22bb2e72267890782897c208bbc9114d023dfc7
/
.
/
src
/
test
/
ui
/
ufcs-type-params.rs
blob: eee2b55b2a01e99c22159d463fbc91ffa5330226 [
file
] [
log
] [
blame
]
// run-pass
// pretty-expanded FIXME #23616
trait
Foo
<
T
>
{
fn
get
(&
self
)
->
T
;
}
impl
Foo
<
i32
>
for
i32
{
fn
get
(&
self
)
->
i32
{
*
self
}
}
fn
main
()
{
let
x
:
i32
=
1
;
Foo
::<
i32
>::
get
(&
x
);
}