diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index cffd51c2d57..9e5e88d1887 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3341,7 +3341,7 @@ pub impl Parser { self.span_fatal( copy *self.span, fmt!( - "expected `;`, `,`, or '}' but found `%s`", + "expected `,`, or '}' but found `%s`", self.this_token_to_str() ) );