rustc_parse: Better spans for synthesized token streams
This commit is contained in:
parent
b5c496de37
commit
0dab076358
9 changed files with 151 additions and 167 deletions
|
@ -743,7 +743,6 @@ impl<'a, 'b> MacroExpander<'a, 'b> {
|
|||
AttrStyle::Inner => rustc_parse::fake_token_stream(
|
||||
&self.cx.sess.parse_sess,
|
||||
&item.into_nonterminal(),
|
||||
span,
|
||||
),
|
||||
};
|
||||
let attr_item = attr.unwrap_normal_item();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue