Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
unboxed-closures
/
unboxed-closure-sugar-wrong-number-number-type-parameters-1.rs
blob: a6c86311b37722ff5bf9dd04e4b70ca23f593a21 [
file
] [
log
] [
blame
]
#![
feature
(
unboxed_closures
)]
trait
One
<
A
>
{
fn
foo
(&
self
)
->
A
;
}
fn
foo
(
_
:
&
dyn
One
())
//~ ERROR associated type `Output` not found for `One<()>`
{}
fn
main
()
{
}