From 63edd2c35892c81fe3f071e7e259437de9557845 Mon Sep 17 00:00:00 2001 From: Matthew Jasper Date: Sat, 25 May 2019 10:11:48 +0100 Subject: Remove the HirId/NodeId from where clauses Also give them a span in the HIR --- src/libsyntax/parse/parser.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libsyntax/parse') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 78eeb512206..fa697e06d26 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -5075,7 +5075,6 @@ impl<'a> Parser<'a> { Ok(ast::Generics { params, where_clause: WhereClause { - id: ast::DUMMY_NODE_ID, predicates: Vec::new(), span: DUMMY_SP, }, @@ -5334,7 +5333,6 @@ impl<'a> Parser<'a> { /// ``` fn parse_where_clause(&mut self) -> PResult<'a, WhereClause> { let mut where_clause = WhereClause { - id: ast::DUMMY_NODE_ID, predicates: Vec::new(), span: self.prev_span.to(self.prev_span), }; -- cgit 1.4.1-3-g733a5