Trait fn returning impl Fn()
cannot be used as a system when called from generic type
#13436
Labels
impl Fn()
cannot be used as a system when called from generic type
#13436
Bevy version
0.13.2
What you did
What went wrong
The second
foo()
is not considered a system, so it doesn't compile.Additional information
This looks like a Rust bug, but I have no idea what the source of the bug is (something to do with RPITIT?), and this affects my usage of Bevy, so I'm creating an issue here for now.
The text was updated successfully, but these errors were encountered: