Uh oh!
There was an error while loading. Please reload this page.
must_use: ignore Result<Uninhabited, ()> and ControlFlow<(), Uninhabited> - #153807
must_use: ignore Result<Uninhabited, ()> and ControlFlow<(), Uninhabited>#153807DanielEScherzer wants to merge 2 commits into
Result<Uninhabited, ()> and ControlFlow<(), Uninhabited>#153807Conversation
…abited>` For consistency with `Result<(), Uninhabited>` and `ControlFlow<Uninhabited, ()>`
rustbot
commented
Mar 13, 2026
r? @fee1-dead rustbot has assigned @fee1-dead. Use Why was this reviewer chosen?The reviewer was selected based on:
|
rust-log-analyzer
commented
Mar 13, 2026
The job Click to see the possible cause of the failure (guessed by this bot) |
Don't really understand the error in the logs - was the GitHub action cancelled?
|
Kivooeo
commented
Mar 13, 2026
WaffleLapkin
commented
Mar 13, 2026
I don't feel like |
DanielEScherzer
commented
Mar 13, 2026
Not particularly, I just saw that |
I would argue that if something can only ever return an error, you should be making sure to extra use it, because that means something that you intended to loop forever failed. No opinion on |
DanielEScherzer
commented
Mar 13, 2026
But it is impossible to really use |
WaffleLapkin
commented
Mar 13, 2026
I don't feel like we need to be consistent here, given that there is no real example of this being useful. Especially since the future changes to make Feel free to disagree though, maybe I'm missing something :) |
Based on #147382 which ignored them in the opposite orders
@rustbot label +A-lints L-unused_must_use