summary refs log tree commit diff
path: root/src/libsyntax/ext/base.rs
diff options
context:
space:
mode:
authorJohn Clements <clements@racket-lang.org>2013-05-28 14:55:50 -0700
committerJohn Clements <clements@racket-lang.org>2013-09-06 13:35:08 -0700
commit93337f0daab1958bd7f7614cf54d3f69f2ab64ce (patch)
treee34e056d57b843b21cbc703f67fb75aaea7006ae /src/libsyntax/ext/base.rs
parent431ede40dfd66c34656d3e58fabaa36e772e33c5 (diff)
downloadrust-93337f0daab1958bd7f7614cf54d3f69f2ab64ce.tar.gz
rust-93337f0daab1958bd7f7614cf54d3f69f2ab64ce.zip
separate ItemDecorator from ItemDecorator
Diffstat (limited to 'src/libsyntax/ext/base.rs')
-rw-r--r--src/libsyntax/ext/base.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs
index c71cff08ba8..ac3fc717500 100644
--- a/src/libsyntax/ext/base.rs
+++ b/src/libsyntax/ext/base.rs
@@ -33,7 +33,7 @@ pub struct MacroDef {
     ext: SyntaxExtension
 }
 
-pub type ItemDecorator = @fn(@ExtCtxt,
+pub type ItemDecoratorFun = @fn(@ExtCtxt,
                              Span,
                              @ast::MetaItem,
                              ~[@ast::item])
@@ -62,7 +62,7 @@ pub enum MacResult {
 pub enum SyntaxExtension {
 
     // #[auto_encode] and such
-    ItemDecorator(ItemDecorator),
+    ItemDecorator(ItemDecoratorFun),
 
     // Token-tree expanders
     NormalTT(SyntaxExpanderTTFun, Option<Span>),