]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closure-sugar-wrong-number-number-type-parameters-1.stderr
Rollup merge of #86828 - lambinoo:67441-const-fn-copied-take-replace, r=joshtriplett
[rust.git] / src / test / ui / unboxed-closures / unboxed-closure-sugar-wrong-number-number-type-parameters-1.stderr
1 error[E0220]: associated type `Output` not found for `One<()>`
2   --> $DIR/unboxed-closure-sugar-wrong-number-number-type-parameters-1.rs:5:16
3    |
4 LL | fn foo(_: &dyn One())
5    |                ^^^^^ associated type `Output` not found
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0220`.