Fix bad argument type of pprust::print_type
AST types are boxed, there's no need for every caller to do the unboxing
This commit is contained in:
parent
1570949ef1
commit
a21ebb2f5e
3 changed files with 27 additions and 29 deletions
|
|
@ -59,7 +59,7 @@ fn log_expr(e: &ast::expr) { log print::pprust::expr_to_str(@e); }
|
|||
|
||||
fn log_expr_err(e: &ast::expr) { log_err print::pprust::expr_to_str(@e); }
|
||||
|
||||
fn log_ty_err(t: &ty) { log_err print::pprust::ty_to_str(t); }
|
||||
fn log_ty_err(t: &@ty) { log_err print::pprust::ty_to_str(t); }
|
||||
|
||||
fn log_pat_err(p: &@pat) { log_err print::pprust::pat_to_str(p); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue