syntax: try to fix pattern printing yet again, r=burningtree.

This commit is contained in:
Graydon Hoare 2012-12-07 14:39:29 -08:00
parent 4a3170a24c
commit d78053ecb0
2 changed files with 31 additions and 22 deletions

View file

@ -61,7 +61,7 @@ fn main() {
check_pp(ext_cx, *stmt2, pprust::print_stmt, ~"let x: int = 23;");
let pat = #ast[pat]{some(_)};
check_pp(ext_cx, pat, pprust::print_pat, ~"some(_)");
check_pp(ext_cx, pat, pprust::print_refutable_pat, ~"some(_)");
// issue #1785
let x = #ast{1};