Auto merge of #28534 - marcusklaas:fix-mod-inner-span, r=alexcrichton

Fixes https://github.com/rust-lang/rust/issues/28520.

r? @alexcrichton or @nrc?
This commit is contained in:
bors
2015-09-20 21:31:24 +00:00
+1 -1
View File
@@ -4843,7 +4843,7 @@ fn parse_mod_items(&mut self, term: &token::Token, inner_lo: BytePos) -> PResult
let hi = if self.span == codemap::DUMMY_SP {
inner_lo
} else {
self.span.lo
self.last_span.hi
};
Ok(ast::Mod {