Skip to content

Commit 76e773f

Browse files
committed
---
yaml --- r: 14036 b: refs/heads/try c: 42e25b2 h: refs/heads/master v: v3
1 parent 9464185 commit 76e773f

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
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 5f6a1159bbddf95d977e813a59739462902d7777
5+
refs/heads/try: 42e25b2bb91118ff40e110129808451a762e7f5c
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/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)