-
Notifications
You must be signed in to change notification settings - Fork 13.3k
HRTB: the trait Fn<(&_,), &_>
is not implemented for the type fn(&'a u8) -> &'a u8
#19126
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hmm, yes, the existing semi-hokey impls for |
Hitting this in railgun when trying to use |
@nikomatsakis Any chance this could get fixed soon-ish? Once this gets fixed, we can start rolling the unboxed closure feature in several parts of the standard library! |
See PR #19449 |
lnicola
added a commit
to lnicola/rust
that referenced
this issue
Feb 10, 2025
minor: Sync from downstream
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
This came up while trying to move
Option
to unboxed closures.STR
Output
Version
#19113 + #18868 on top of bfaa7bc
cc @aturon blocks #14798
cc @nikomatsakis
The text was updated successfully, but these errors were encountered: