Skip to content

Commit b570b2a

Browse files
catamorphismgraydon
authored andcommitted
---
yaml --- r: 2681 b: refs/heads/master c: 551fb13 h: refs/heads/master i: 2679: d881ef0 v: v3
1 parent df84b85 commit b570b2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: a08a376d6e4c0b8805d94dadd43a320b0f00b375
2+
refs/heads/master: 551fb13689bba7202dbf375bd420f81ac46d5a3c

trunk/src/comp/middle/resolve.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ fn lookup_in_scope(&env e, list[scope] sc, &span sp, &ident id, namespace ns)
521521
}
522522
}
523523
}
524-
fail;
524+
e.sess.bug("reached unreachable code in lookup_in_scope"); // sigh
525525
}
526526

527527
fn lookup_in_ty_params(&ident id, &vec[ast::ty_param] ty_params)
@@ -757,7 +757,7 @@ fn lookup_in_local_mod(&env e, def_id defid, &ident id, namespace ns,
757757
}
758758
}
759759
}
760-
fail;
760+
e.sess.bug("reached unreachable code in lookup_in_regular_mod"); // sigh
761761
}
762762

763763
fn lookup_in_mie(&env e, &mod_index_entry mie, namespace ns)

0 commit comments

Comments
 (0)