rustc: Fix nonexhaustive match failure on unresolved identifiers
This commit is contained in:
parent
9ac42ca743
commit
d08b5bc3d4
1 changed files with 1 additions and 0 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue