Store TokenStream
in rmeta::MacroDef
.
This removes a hack from `load_macro_untracked` in which parsing is used.
This commit is contained in:
parent
3dbade652e
commit
fd302f46dc
17 changed files with 53 additions and 85 deletions
|
@ -1565,7 +1565,7 @@ impl Context {
|
|||
|
||||
let mut path = String::new();
|
||||
|
||||
// We can safely ignore macros from other libraries
|
||||
// We can safely ignore synthetic `SourceFile`s.
|
||||
let file = match item.source.filename {
|
||||
FileName::Real(ref path) => path,
|
||||
_ => return None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue