diff options
| author | Patrick Walton <[email protected]> | 2010-12-12 16:49:51 -0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-12-12 16:49:51 -0800 |
| commit | d08b5bc3d4d1c836e0372f3f5744ae1989f682a3 (patch) | |
| tree | 61a517c4674ae362e47990fabe61c192ced38124 | |
| parent | rustc: Resolve variant names in patterns (diff) | |
| download | rust-d08b5bc3d4d1c836e0372f3f5744ae1989f682a3.tar.xz rust-d08b5bc3d4d1c836e0372f3f5744ae1989f682a3.zip | |
rustc: Fix nonexhaustive match failure on unresolved identifiers
| -rw-r--r-- | src/comp/middle/resolve.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/middle/resolve.rs b/src/comp/middle/resolve.rs index c3dd7ef1..ee63e4f5 100644 --- a/src/comp/middle/resolve.rs +++ b/src/comp/middle/resolve.rs @@ -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]; } |