Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
traits
/
next-solver
/
normalize-path-for-method.rs
blob: b95454306cd698d17fd2416c02e5e1f1582ff891 [
file
] [
log
] [
blame
]
// compile-flags: -Znext-solver
// check-pass
trait
Mirror
{
type
Assoc
;
}
impl
<
T
>
Mirror
for
T
{
type
Assoc
=
T
;
}
struct
Foo
;
impl
Foo
{
fn
new
()
->
Self
{
Foo
}
}
fn
main
()
{
<
Foo
as
Mirror
>::
Assoc
::
new
();
}