-
Notifications
You must be signed in to change notification settings - Fork 13.4k
update diagnostics E0282 #26877
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
update diagnostics E0282 #26877
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
This is badly worded and not-particularly helpful. |
Thanks @liigo. I also think this isn't as illuminating as it might be - why is the |
@brson Just a hint to the correct syntax of |
I think this has some value -- None can be a pretty common case of this problem in my experience. But it might be too marginal. |
I think it might be sufficient to change the first sentence to something like:
|
This just explains why the compile error occurs, but doesn't answer how
|
@liigo Yes, I was still intending that you include the example invalid/valid situations. But I suppose you could expand the text. |
Closing. This may be addressed out of here in another way. |
No description provided.