Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
resolve
/
resolve-pseudo-shadowing.rs
blob: a5aad3c669cc27cbfa3f63c5dd81a193e99c3808 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
(());
}