syntax: try to fix pattern printing yet again, r=burningtree.
This commit is contained in:
parent
4a3170a24c
commit
d78053ecb0
2 changed files with 31 additions and 22 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue