syntax: remove some dead code.

This commit is contained in:
Huon Wilson 2014-02-06 01:08:17 +11:00
parent 8d1204a4b7
commit eac673ab0c

View file

@ -18,8 +18,7 @@ library.
*/
use ast::{EnumDef, Ident, Item, Generics, StructDef};
use ast::{MetaItem, MetaList, MetaNameValue, MetaWord};
use ast::{Item, MetaItem, MetaList, MetaNameValue, MetaWord};
use ext::base::ExtCtxt;
use codemap::Span;
@ -45,19 +44,6 @@ pub mod totalord;
pub mod generic;
pub type ExpandDerivingStructDefFn<'a> = 'a |&ExtCtxt,
Span,
x: &StructDef,
Ident,
y: &Generics|
-> @Item;
pub type ExpandDerivingEnumDefFn<'a> = 'a |&ExtCtxt,
Span,
x: &EnumDef,
Ident,
y: &Generics|
-> @Item;
pub fn expand_meta_deriving(cx: &ExtCtxt,
_span: Span,
mitem: @MetaItem,