Skip to content

Commit a439f6e

Browse files
committed
Add ty_boxed to typeck.type_is_boxed.
1 parent cdcab74 commit a439f6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/middle/typeck.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ fn type_is_boxed(@ty t) -> bool {
577577
alt (t.struct) {
578578
case (ty_str) { ret true; }
579579
case (ty_vec(_)) { ret true; }
580+
case (ty_box(_)) { ret true; }
580581
case (_) { ret false; }
581582
}
582583
fail;

0 commit comments

Comments
 (0)