Open
Description
The appearance of #104843 has shown that bugs might still be in hiding for let chains. In order to make the implementation of let chains in rustc more robust, it would be useful to increase the number of places let chains are tested in.
There is an automatted tool to convert uses of the if_chain
crate to let chains: https://github.com/Alexendoo/if-to-let-chain
One ways to increase testing would be to run the tool on some of the users of if_chain
, e.g. clippy. Maybe this brings up new bugs like #104843.
@rustbot label F-let_chains