Sign in
rust
/
rust
/
244fc326f23b58bc9db6bd985c59b80098ff14c1
/
.
/
tests
/
ui
/
dyn-compatibility
/
default-param-self-projection.rs
blob: a440cd735daba8fefeaa36350341037d3a06206d [
file
]
trait
A
<
C
=
<
Self
as
D
>::
E
>
{}
trait
D
{
type
E
;
}
impl
A
<()>
for
()
{}
impl
D
for
()
{
type
E
=
();
}
fn
f
()
{
let
B
:
&
dyn A
=
&();
//~^ ERROR the type parameter `C` must be explicitly specified
}
fn
main
()
{}