Skip to content

Commit ca49192

Browse files
committed
---
yaml --- r: 8050 b: refs/heads/snap-stage3 c: 42e25b2 h: refs/heads/master v: v3
1 parent 996abf3 commit ca49192

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 5f6a1159bbddf95d977e813a59739462902d7777
4+
refs/heads/snap-stage3: 42e25b2bb91118ff40e110129808451a762e7f5c
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/test/run-pass/qquote.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ fn main() {
6868
let stmt = #ast(stmt){let x = 20;};
6969
check_pp(*stmt, pprust::print_stmt, "let x = 20;");
7070

71+
let stmt2 = #ast(stmt){let x : $(ty) = some($(abc));};
72+
check_pp(*stmt2, pprust::print_stmt, "let x: option<int> = some(23);");
73+
7174
let pat = #ast(pat){some(_)};
7275
check_pp(pat, pprust::print_pat, "some(_)");
7376
}

0 commit comments

Comments
 (0)