The Rust Programming Language Forum
Some confusion about inferred type signature of closures
alice
December 15, 2021, 9:52pm
2
Honestly, the compiler is just being kinda stupid with this issue.
See also:
show post in topic
Related topics
Topic
Replies
Views
Activity
Why can't Rust infer this closure lifetime?
help
4
603
November 24, 2022
Workaround of "Implementation of `FnOnce` is not general enough"
help
2
192
July 6, 2024
FnOnce: Code doesn't compile and I don't see the issue
help
5
917
September 5, 2019
FnOnce becomes "not general enough" after going through identity
help
3
101
May 8, 2025
Unexpected lifetime warning when passing a string to a println closure
help
6
391
August 9, 2022