]> git.lizzy.rs Git - rust.git/commit
Merge #5787
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Tue, 18 Aug 2020 07:25:57 +0000 (07:25 +0000)
committerGitHub <noreply@github.com>
Tue, 18 Aug 2020 07:25:57 +0000 (07:25 +0000)
commit3932874794ab8b802ac4dec162bf97a6b64808e5
treea73e2ad5d033c6f53357d3895b73b6a810e4a94c
parent7d95a8447cf1874dac6381b5b1e644093b72e435
parentc822bb68ce78171e4017938a66118fc4ccf077d5
Merge #5787

5787: Fix missing match arm false positive r=matklad a=CAD97

If the type of the match expression is `{unknown}`, don't do exhaustiveness checks, as it could be an uninhabited type.

Co-authored-by: CAD97 <cad97@cad97.com>