Sign in
rust
/
rust
/
dc9879cb3d3446c41b6d7d6813b7bfd17da1134f
/
.
/
tests
/
ui
/
generic-associated-types
/
issue-79636-2.rs
blob: ff5ff38c968d20cf2f1587c37e4ab8895a84078d [
file
] [
log
] [
blame
]
trait
SomeTrait
{
type
Wrapped
<
A
>:
SomeTrait
;
fn
f
()
->
();
}
fn
program
<
W
>()
->
()
where
W
:
SomeTrait
<
Wrapped
=
W
>,
//~^ ERROR: missing generics for associated type `SomeTrait::Wrapped`
{
return
W
::
f
();
}
fn
main
()
{}