Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
lint
/
non-local-defs
/
ref-complex.rs
blob: ce4e0a3dc0a190cc3cc6e0ae58f14c65fd897e3d [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
trait
Trait
<
T
>
{}
fn
main
()
{
mod
below
{
pub
struct
Type
<
T
>(
T
);
}
struct
InsideMain
;
trait
HasFoo
{}
impl
<
T
>
Trait
<
InsideMain
>
for
&
Vec
<
below
::
Type
<(
InsideMain
,
T
)>>
where
T
:
HasFoo
{}
}