diff options
| author | Josh Driver <keeperofdakeys@gmail.com> | 2017-02-23 20:12:33 +1030 |
|---|---|---|
| committer | Josh Driver <keeperofdakeys@gmail.com> | 2017-02-23 20:12:33 +1030 |
| commit | 4ecdc681539f05c72a2e47325e5cc917dce070b1 (patch) | |
| tree | 8edf449bab5a9af19656438660e117376eb09aa7 /src/libsyntax | |
| parent | 306035c21741928bef75b8915d2195cce400b70a (diff) | |
| download | rust-4ecdc681539f05c72a2e47325e5cc917dce070b1.tar.gz rust-4ecdc681539f05c72a2e47325e5cc917dce070b1.zip | |
Move MacroKind into Def::Macro
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/base.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs index b61ab74687b..666e2205b4a 100644 --- a/src/libsyntax/ext/base.rs +++ b/src/libsyntax/ext/base.rs @@ -475,7 +475,7 @@ pub type BuiltinDeriveFn = for<'cx> fn(&'cx mut ExtCtxt, Span, &MetaItem, &Annotatable, &mut FnMut(Annotatable)); /// Represents different kinds of macro invocations that can be resolved. -#[derive(Clone, Copy, PartialEq, Eq)] +#[derive(Clone, Copy, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)] pub enum MacroKind { /// A bang macro - foo!() Bang, |
