make mk_attr_id
part of ParseSess
This commit is contained in:
parent
17cbdfd071
commit
1a3ecbdb6a
13 changed files with 88 additions and 27 deletions
|
@ -616,7 +616,7 @@ impl<'a> ExtCtxt<'a> {
|
|||
}
|
||||
|
||||
pub fn attribute(&self, mi: ast::MetaItem) -> ast::Attribute {
|
||||
attr::mk_attr_outer(mi)
|
||||
attr::mk_attr_outer(&self.sess.parse_sess.attr_id_generator, mi)
|
||||
}
|
||||
|
||||
pub fn meta_word(&self, sp: Span, w: Symbol) -> ast::MetaItem {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue