fn(&u8) -> &u8
doesn't implement FnOnce(T) -> T
: ReInfer(ReSkolemized(.. error message
#19127
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Small variation of #19126
STR
Output
Version
#19113 + #18868 on top of bfaa7bc
Not sure if this should work or not, but the error message could be improved.
cc @nikomatsakis
The text was updated successfully, but these errors were encountered: