Lint only on single element overlap
This commit is contained in:
parent
73d6efc43e
commit
593cdcccf2
6 changed files with 22 additions and 61 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue