-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
nightly warning: unused ControlFlow
that must be used
#7736
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
Comments
The Edit: It's |
Hello @BenWiederhake, @tertsdiepraam Thank you for your observations and comments. I’ve opened #7881 PR with some initial changes for review, discussion, and testing on real examples. While experimenting, I noticed the following:
|
Closed by #7881. Awesome, thanks! @alexs-sh Did you know? If you write something like "Fixes: #7736" in the PR description (or, if applicable, in the body of the relevant commit), then GitHub auto-closes the linked issue once the PR is merged. If you don't feel comfortable with it, that's of course fine, too. :) |
When compiling with nightly (cargo 1.88.0-nightly 2025-03-26 or newer, probably older as well), we get some compilation warnings:
It seems that there have been some changes to the inner workings of the compiler: rust-lang/rust#137449
I'm not quite sure how to deal with this, but it seems that this warning will make it's way into stable eventually I guess, so let's "fix" this issue? However, in both cases I don't fully understand why that is even necessary, so I don't trust the compiler-suggested code.
The text was updated successfully, but these errors were encountered: