Skip to content

Commit 19f85cc

Browse files
committed
Print ty_bot properly.
1 parent a6ca9c2 commit 19f85cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/pretty/pprust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ fn print_type(&ps s, &ast::ty ty) {
193193
alt (ty.node) {
194194
case (ast::ty_nil) {word(s.s, "()");}
195195
case (ast::ty_bool) {word(s.s, "bool");}
196-
case (ast::ty_bot) {word(s.s, "_|_");}
196+
case (ast::ty_bot) {word(s.s, "!");}
197197
case (ast::ty_int) {word(s.s, "int");}
198198
case (ast::ty_uint) {word(s.s, "uint");}
199199
case (ast::ty_float) {word(s.s, "float");}

0 commit comments

Comments
 (0)