diff options
| author | klutzy <klutzytheklutzy@gmail.com> | 2013-09-26 22:24:27 +0900 |
|---|---|---|
| committer | klutzy <klutzytheklutzy@gmail.com> | 2013-09-26 22:47:33 +0900 |
| commit | d96dfc9a59db75323536916e78befea69e85d5ae (patch) | |
| tree | f59ee76ecdf5310090e540b782e2aee408b4e001 /src/libsyntax/parse | |
| parent | 24d46a0f45b4a0d6198b9d23dad2f7faa5a05d92 (diff) | |
| download | rust-d96dfc9a59db75323536916e78befea69e85d5ae.tar.gz rust-d96dfc9a59db75323536916e78befea69e85d5ae.zip | |
syntax: Fix wrong span on ObsoleteEmptyImpl
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) { |
