Skip to content

Commit eac673a

Browse files
committed
syntax: remove some dead code.
1 parent 8d1204a commit eac673a

File tree

1 file changed

+1
-15
lines changed
  • src/libsyntax/ext/deriving

1 file changed

+1
-15
lines changed

src/libsyntax/ext/deriving/mod.rs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ library.
1818
1919
*/
2020

21-
use ast::{EnumDef, Ident, Item, Generics, StructDef};
22-
use ast::{MetaItem, MetaList, MetaNameValue, MetaWord};
21+
use ast::{Item, MetaItem, MetaList, MetaNameValue, MetaWord};
2322
use ext::base::ExtCtxt;
2423
use codemap::Span;
2524

@@ -45,19 +44,6 @@ pub mod totalord;
4544

4645
pub mod generic;
4746

48-
pub type ExpandDerivingStructDefFn<'a> = 'a |&ExtCtxt,
49-
Span,
50-
x: &StructDef,
51-
Ident,
52-
y: &Generics|
53-
-> @Item;
54-
pub type ExpandDerivingEnumDefFn<'a> = 'a |&ExtCtxt,
55-
Span,
56-
x: &EnumDef,
57-
Ident,
58-
y: &Generics|
59-
-> @Item;
60-
6147
pub fn expand_meta_deriving(cx: &ExtCtxt,
6248
_span: Span,
6349
mitem: @MetaItem,

0 commit comments

Comments
 (0)