diff options
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 95511479d84..656e064d694 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -934,6 +934,7 @@ class parser { } hi = pth.span.hi; + self.expect(token::RBRACE); ex = expr_struct(pth, fields); ret self.mk_pexpr(lo, hi, ex); } |
