diff options
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/common.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/parse/common.rs b/src/libsyntax/parse/common.rs index 1c6022130dc..a7af8500f49 100644 --- a/src/libsyntax/parse/common.rs +++ b/src/libsyntax/parse/common.rs @@ -81,7 +81,8 @@ impl Parser { let lo = self.span.lo; let ident = self.parse_ident(); let hi = self.span.hi; - return spanned(lo, hi, {name: ident, id: self.get_id()}); + spanned(lo, hi, ast::path_list_ident_ { name: ident, + id: self.get_id() }) } fn parse_value_ident() -> ast::ident { |
