Sign in
rust
/
rust
/
dc9879cb3d3446c41b6d7d6813b7bfd17da1134f
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
not-inferred-generic.rs
blob: 3879ea0e626280a61c7498fc4aaea7346f559c39 [
file
] [
log
] [
blame
]
trait
TypedClient
{
fn
publish_typed
<
F
>(&
self
)
->
impl
Sized
where
F
:
Clone
;
}
impl
TypedClient
for
()
{
fn
publish_typed
<
F
>(&
self
)
->
impl
Sized
{}
}
fn
main
()
{
().
publish_typed
();
//~^ ERROR type annotations needed [E0283]
}