Skip to content

Commit

Permalink
rebasing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Dec 22, 2016
1 parent 5d971ab commit c24b192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_save_analysis/span_utils.rs
Expand Up @@ -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")
}

Expand Down

0 comments on commit c24b192

Please sign in to comment.