We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c0bd5 commit e764562Copy full SHA for e764562
tests/source/issue-3532.rs
@@ -1,7 +1,10 @@
1
fn foo(a: T) {
2
match a {
3
-1 => {}
4
- 0 => {}
5
- // _ => panic!("doesn't format!"),
+0 => {}
+ // _ => panic!("doesn't format!"),
+ 1 => {} // _ => panic!("doesn't format!"),
6
7
+ 2 => {}
8
+// _ => panic!("doesn't format!"),
9
}
10
tests/target/issue-3532.rs
@@ -1,6 +1,10 @@
- 1 => {}
- 0 => {} // _ => panic!("doesn't format!"),
+ 0 => {}
0 commit comments