mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
syntax: remove some dead code.
This commit is contained in:
@@ -18,8 +18,7 @@
|
||||
|
||||
*/
|
||||
|
||||
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 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,
|
||||
|
||||
Reference in New Issue
Block a user