Lint only on single element overlap

This commit is contained in:
Esteban Küber 2019-10-16 12:22:23 -07:00
parent 73d6efc43e
commit 593cdcccf2
6 changed files with 22 additions and 61 deletions

View file

@ -1,8 +1,6 @@
// run-pass
// Test that codegen works correctly when there are multiple refutable
// patterns in match expression.
#![allow(overlapping_patterns)]
enum Foo {
FooUint(usize),