rebasing fix
This commit is contained in:
parent
5d971ab5f2
commit
c24b1928ca
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue