diff options
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 74447b5dae1..18b65d7b444 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3853,7 +3853,7 @@ impl Parser { let mut meths = ~[]; if self.eat(&token::SEMI) { - self.obsolete(*self.span, ObsoleteEmptyImpl); + self.obsolete(*self.last_span, ObsoleteEmptyImpl); } else { self.expect(&token::LBRACE); while !self.eat(&token::RBRACE) { |
