File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
branches/try/src/test/run-pass Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 5f6a1159bbddf95d977e813a59739462902d7777
5
+ refs/heads/try: 42e25b2bb91118ff40e110129808451a762e7f5c
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ fn main() {
68
68
let stmt = #ast ( stmt) { let x = 20 ; } ;
69
69
check_pp ( * stmt, pprust:: print_stmt, "let x = 20;" ) ;
70
70
71
+ let stmt2 = #ast ( stmt) { let x : $( ty ) = some ( $( abc) ) ; } ;
72
+ check_pp ( * stmt2, pprust:: print_stmt, "let x: option<int> = some(23);" ) ;
73
+
71
74
let pat = #ast ( pat) { some ( _) } ;
72
75
check_pp ( pat, pprust:: print_pat, "some(_)" ) ;
73
76
}
You can’t perform that action at this time.
0 commit comments