-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing method errors using AsyncRead #1536
Comments
This is because core::pin::Pin::new(&mut inner).poll_read(unimplemented!(), unimplemented!()); This is a pretty terrible error message for forgetting that though, I'll make sure there's an upstream issue about improving the error message to mention the expected type. |
EDIT: Oh, I was thinking about the compiler mentioning private modules, but it's really great to improve arbitrary self types' error message. |
Opened rust-lang/rust#60086 |
Thanks for clearing that up @Nemo157 👍 |
This may not be the correct place to post this, but I am running into weird errors trying to use
AsyncRead
.Here is a narrowed down snippet illustrating the error (also uploaded at https://github.com/chmln/fut-err):
Error:
Based on the suggestion I've tried adding
std
andnightly
feature flags but that did not help either.Extra Info:
The text was updated successfully, but these errors were encountered: