rustc: Add "float" as a type to the pretty printer
This commit is contained in:
parent
d7e8818414
commit
e11e8754de
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ impure fn print_type(ps s, &@ast.ty ty) {
|
|||
case (ast.ty_bool) {wrd(s.s, "bool");}
|
||||
case (ast.ty_int) {wrd(s.s, "int");}
|
||||
case (ast.ty_uint) {wrd(s.s, "uint");}
|
||||
case (ast.ty_float) {wrd(s.s, "float");}
|
||||
case (ast.ty_machine(?tm)) {wrd(s.s, common.ty_mach_to_str(tm));}
|
||||
case (ast.ty_char) {wrd(s.s, "char");}
|
||||
case (ast.ty_str) {wrd(s.s, "str");}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue