1
Fork 0

fix some unused pattern binding warnings

This commit is contained in:
Niko Matsakis 2012-08-24 14:04:38 -07:00
parent 5ba7434cb1
commit a8f1bee457
17 changed files with 43 additions and 42 deletions

View file

@ -31,7 +31,7 @@ fn stmt_ends_with_semi(stmt: ast::stmt) -> bool {
ast::stmt_expr(e, _) => {
return expr_requires_semi_to_be_stmt(e);
}
ast::stmt_semi(e, _) => {
ast::stmt_semi(*) => {
return false;
}
}