Sign in
fuchsia
/
third_party
/
rust
/
a22e9ee8d0801f9738533b76a492e94065767cbc
/
.
/
src
/
test
/
ui
/
resolve-pseudo-shadowing.rs
blob: 85c684ca0328e8258da389674be1524fdb085fe0 [
file
] [
log
] [
blame
]
// run-pass
// check that type parameters can't "shadow" qualified paths.
fn
check
<
Clone
>(
_c
:
Clone
)
{
fn
check2
()
{
let
_
=
<()
as
std
::
clone
::
Clone
>::
clone
(&());
}
check2
();
}
fn
main
()
{
check
(());
}