libsyntax: Convert ast::attribute_ to store a @meta_item

This commit is contained in:
Erick Tryzelaar
2013-02-25 06:19:44 -08:00
parent b26d434ad1
commit 5b9e110eab
14 changed files with 28 additions and 27 deletions

View File

@@ -110,7 +110,7 @@ mod syntax {
pub fn expand_auto_encode(
cx: ext_ctxt,
span: span,
_mitem: ast::meta_item,
_mitem: @ast::meta_item,
in_items: ~[@ast::item]
) -> ~[@ast::item] {
fn is_auto_encode(a: &ast::attribute) -> bool {
@@ -165,7 +165,7 @@ pub fn expand_auto_encode(
pub fn expand_auto_decode(
cx: ext_ctxt,
span: span,
_mitem: ast::meta_item,
_mitem: @ast::meta_item,
in_items: ~[@ast::item]
) -> ~[@ast::item] {
fn is_auto_decode(a: &ast::attribute) -> bool {