File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: c515ed13deafda59f0b8e00e7fa67802009e33fd
2
+ refs/heads/master: 468786e36d5ab35afb54b60bc1d6147ba0db8733
Original file line number Diff line number Diff line change @@ -981,6 +981,7 @@ fn type_has_pointers(&ctxt cx, &t ty) -> bool {
981
981
alt ( struct ( cx, ty) ) {
982
982
// scalar types
983
983
case ( ty_nil) { ret false; }
984
+ case ( ty_bot) { ret false; }
984
985
case ( ty_bool) { ret false; }
985
986
case ( ty_int) { ret false; }
986
987
case ( ty_float) { ret false; }
@@ -2049,7 +2050,7 @@ mod unify {
2049
2050
result_mode = expected_input. mode ;
2050
2051
}
2051
2052
2052
- auto result = unify_step ( cx, actual_input . ty , expected_input . ty ) ;
2053
+ auto result = unify_step ( cx, expected_input . ty , actual_input . ty ) ;
2053
2054
2054
2055
alt ( result) {
2055
2056
case ( ures_ok ( ?rty) ) {
You can’t perform that action at this time.
0 commit comments