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 215a8db commit 174593cCopy full SHA for 174593c
[refs]
@@ -2,7 +2,7 @@
2
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
-refs/heads/try: 976e1ced0037d88bcd0f32d6e831125b7710a73a
+refs/heads/try: 9678abedecfb1b57158dcd5d1ebba9914a089dc5
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
branches/try/src/test/run-pass/fn-pattern-expected-type.rs
@@ -0,0 +1,8 @@
1
+fn main() {
+ let f: fn((int,int)) = |(x, y)| {
+ assert x == 1;
+ assert y == 2;
+ };
+ f((1, 2));
+}
+
0 commit comments