Skip to content

Commit ad7aff8

Browse files
committed
Remove unused function.
1 parent 70bc63a commit ad7aff8

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/comp/middle/resolve.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -335,23 +335,6 @@ fn lookup_name_wrapped(&env e, ast.ident i, namespace ns)
335335
}
336336
}
337337

338-
fn found_decl_stmt(@ast.stmt s, namespace ns) -> def_wrap {
339-
alt (s.node) {
340-
case (ast.stmt_decl(?d,_)) {
341-
alt (d.node) {
342-
case (ast.decl_local(?loc)) {
343-
auto t = ast.def_local(loc.id);
344-
ret def_wrap_other(t);
345-
}
346-
case (ast.decl_item(?it)) {
347-
ret found_def_item(it, ns);
348-
}
349-
}
350-
}
351-
}
352-
fail;
353-
}
354-
355338
fn found_def_view(@ast.view_item i) -> def_wrap {
356339
alt (i.node) {
357340
case (ast.view_item_use(_, _, ?id, _)) {

0 commit comments

Comments
 (0)