Sign in
fuchsia
/
third_party
/
rust
/
refs/tags/1.68.0
/
.
/
tests
/
ui
/
unboxed-closures
/
unboxed-closure-sugar-wrong-number-number-type-parameters-3.rs
blob: f26ad8e93a153e5f4203c12403ff4386aa9a5885 [
file
] [
log
] [
blame
]
#![
feature
(
unboxed_closures
)]
trait
Three
<
A
,
B
,
C
>
{
fn
dummy
(&
self
)
->
(
A
,
B
,
C
);
}
fn
foo
(
_
:
&
dyn
Three
())
//~^ ERROR this trait takes 3 generic arguments but 1 generic argument
//~| ERROR associated type `Output` not found
{}
fn
main
()
{
}