bless a chalk test

This commit is contained in:
Michael Goulet 2022-11-10 04:36:45 +00:00
parent ed17c6b1c3
commit 27fddcff86

View file

@ -22,6 +22,10 @@ LL | f(2);
| ^^^^ expected an `Fn<(i32,)>` closure, found `dyn Fn(i32) -> i32`
|
= help: the trait `Fn<(i32,)>` is not implemented for `dyn Fn(i32) -> i32`
help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
|
LL | fn main() where dyn Fn(i32) -> i32: Fn<(i32,)> {
| ++++++++++++++++++++++++++++++++++++
error: aborting due to 3 previous errors