-
Notifications
You must be signed in to change notification settings - Fork 13k
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
let-binding has unit value fix breaks code #111247
Comments
This is a clippy lint bug, so not sure if this should be tagged with diagnostics tags, @workingjubilee. Shouldn't we just move this issue to that repo? |
Oh, durr. |
I don't have the power to move issues to clippy, unforch. |
I was wondering that but cargo output recommended to open an issue here |
As of rust-lang/cargo#11882, cargo should now suggest the correct repository to report this bug. @Eagle941, thanks for the report but please re-open this as a clippy issue 😃 (and perhaps |
This is the code:
I have got this warning:
I tried this command:
This happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: