syntax: remove some dead code.
This commit is contained in:
parent
8d1204a4b7
commit
eac673ab0c
1 changed files with 1 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue