Add test for #7829
This commit is contained in:
parent
4679eb3a0d
commit
c4d5471a45
1 changed files with 7 additions and 0 deletions
|
|
@ -100,6 +100,13 @@ fn overlapping() {
|
|||
_ => (),
|
||||
}
|
||||
|
||||
// Issue #7829
|
||||
match 0 {
|
||||
-1..=1 => (),
|
||||
-2..=2 => (),
|
||||
_ => (),
|
||||
}
|
||||
|
||||
if let None = Some(42) {
|
||||
// nothing
|
||||
} else if let None = Some(42) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue