rebasing fix

This commit is contained in:
Nick Cameron 2016-12-22 17:01:45 +13:00
parent 5d971ab5f2
commit c24b1928ca

View file

@ -91,7 +91,7 @@ impl<'a> SpanUtils<'a> {
fn span_to_tts(&self, span: Span) -> Vec<TokenTree> {
let srdr = self.retokenise_span(span);
let mut p = Parser::new(&self.sess.parse_sess, Box::new(srdr));
let mut p = Parser::new(&self.sess.parse_sess, Box::new(srdr), None, false);
p.parse_all_token_trees().expect("Couldn't re-parse span")
}