aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/front/parser.rs')
-rw-r--r--src/comp/front/parser.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs
index 733d5050..46cad2fd 100644
--- a/src/comp/front/parser.rs
+++ b/src/comp/front/parser.rs
@@ -2309,8 +2309,7 @@ fn parse_rest_import_name(parser p, ast.ident first,
}
}
auto import_decl = ast.view_item_import(defined_id, identifiers,
- p.next_def_id(),
- none[ast.def]);
+ p.next_def_id());
ret @spanned(lo, hi, import_decl);
}