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 f854b61 commit 05e447bCopy full SHA for 05e447b
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: a076fef2b647399f2fb0575830fb07320fb3b6f5
+refs/heads/master: 924674202ed7677e58ab01d75668d633b068f8dd
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729
trunk/src/test/run-pass/match-static-const-rename.rs
@@ -41,7 +41,16 @@ fn g() {
41
assert!(r == 1);
42
}
43
44
+fn h() {
45
+ let r = match (0,0) {
46
+ (0, m::aha) => 0,
47
+ (x, y) => 1 + x + y,
48
+ };
49
+ assert!(r == 1);
50
+}
51
+
52
fn main () {
53
f();
54
g();
55
+ h();
56
0 commit comments