Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
traits
/
next-solver
/
normalize
/
normalize-path-for-method.rs
blob: bbb66574ea3f805942407f67810899da56841cb2 [
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
();
}