rustc: Fix nonexhaustive match failure on unresolved identifiers

This commit is contained in:
Patrick Walton 2010-12-12 16:49:51 -08:00
parent 9ac42ca743
commit d08b5bc3d4

View file

@ -85,6 +85,7 @@ fn lookup_name(&env e, ast.ident i) -> option.t[def] {
}
}
}
case (none[ast.mod_index_entry]) { /* fall through */ }
}
ret none[def];
}