1
Fork 0

Move ExpnInfo to Name

This commit is contained in:
Manish Goregaokar 2015-08-27 05:41:53 +05:30
parent 4ec7b713dd
commit 25cbb4385e
9 changed files with 37 additions and 38 deletions

View file

@ -14,8 +14,7 @@ use codemap::{DUMMY_SP, Span, ExpnInfo, NameAndSpan, MacroAttribute};
use codemap;
use fold::Folder;
use fold;
use parse::token::InternedString;
use parse::token::special_idents;
use parse::token::{intern, InternedString, special_idents};
use parse::{token, ParseSess};
use ptr::P;
use util::small_vector::SmallVector;
@ -27,7 +26,7 @@ fn ignored_span(sess: &ParseSess, sp: Span) -> Span {
let info = ExpnInfo {
call_site: DUMMY_SP,
callee: NameAndSpan {
format: MacroAttribute("std_inject".to_string()),
format: MacroAttribute(intern("std_inject")),
span: None,
allow_internal_unstable: true,
}