Skip to content

let chains testing #104893

Open
Open
@est31

Description

@est31

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-let_chains`#![feature(let_chains)]`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions