parent
4dacd73651
commit
4b266f1c0d
24 changed files with 36 additions and 35 deletions
|
@ -3852,7 +3852,9 @@ impl Parser {
|
|||
}
|
||||
|
||||
let mut meths = ~[];
|
||||
if !self.eat(&token::SEMI) {
|
||||
if self.eat(&token::SEMI) {
|
||||
self.obsolete(*self.span, ObsoleteEmptyImpl);
|
||||
} else {
|
||||
self.expect(&token::LBRACE);
|
||||
while !self.eat(&token::RBRACE) {
|
||||
meths.push(self.parse_method());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue