You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== 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`.
==============
0 commit comments