-
-
Notifications
You must be signed in to change notification settings - Fork 16.9k
let chains testing #104893
Copy link
Copy link
Closed
Labels
A-let-chainsArea: let chains (if-let, while-let, ...)Area: let chains (if-let, while-let, ...)
Description
Activity
Metadata
Metadata
Assignees
Labels
A-let-chainsArea: let chains (if-let, while-let, ...)Area: let chains (if-let, while-let, ...)
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_chaincrate to let chains: https://github.com/Alexendoo/if-to-let-chainOne 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