This repository was archived by the owner on May 23, 2024. It is now read-only.
Commit 6db1ba1
committed
ices/95421.rs: fixed with errors
=== stdout ===
=== stderr ===
error[E0277]: expected a `Fn<(&'x u32,)>` closure, found `fn(&'x u32)`
--> /home/runner/work/glacier/glacier/ices/95421.rs:9:5
|
9 | h5(|_|{})
| ^^ expected an `Fn<(&'x u32,)>` closure, found `fn(&'x u32)`
|
= help: the trait `for<'x> Fn<(&'x u32,)>` is not implemented for `fn(&'x u32)`
note: required by a bound in `h5`
--> /home/runner/work/glacier/glacier/ices/95421.rs:4:26
|
2 | fn h5<T>(_: T)
| -- required by a bound in this function
3 | where
4 | for<'x> fn(&'x u32): Fn(&'x u32),
| ^^^^^^^^^^^ required by this bound in `h5`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
==============1 parent fade49f commit 6db1ba1
1 file changed
+0
-0
lines changedFile renamed without changes.
0 commit comments