rollup merge of #21825: kmcallister/ttdelim-span

This commit is contained in:
Alex Crichton
2015-02-02 10:58:19 -08:00
2 changed files with 24 additions and 1 deletions

View File

@@ -2742,7 +2742,7 @@ impl<'a> Parser<'a> {
self.open_braces.pop().unwrap();
// Expand to cover the entire delimited token tree
let span = Span { hi: self.span.hi, ..pre_span };
let span = Span { hi: close_span.hi, ..pre_span };
TtDelimited(span, Rc::new(Delimited {
delim: delim,