librustc: Remove remaining uses of &fn() in favor of ||.
This commit is contained in:
@@ -46,17 +46,17 @@ pub mod totalord;
|
||||
|
||||
pub mod generic;
|
||||
|
||||
pub type ExpandDerivingStructDefFn<'self> = &'self fn(@ExtCtxt,
|
||||
Span,
|
||||
x: &struct_def,
|
||||
Ident,
|
||||
y: &Generics)
|
||||
-> @item;
|
||||
pub type ExpandDerivingEnumDefFn<'self> = &'self fn(@ExtCtxt,
|
||||
Span,
|
||||
x: &enum_def,
|
||||
Ident,
|
||||
y: &Generics)
|
||||
pub type ExpandDerivingStructDefFn<'self> = 'self |@ExtCtxt,
|
||||
Span,
|
||||
x: &struct_def,
|
||||
Ident,
|
||||
y: &Generics|
|
||||
-> @item;
|
||||
pub type ExpandDerivingEnumDefFn<'self> = 'self |@ExtCtxt,
|
||||
Span,
|
||||
x: &enum_def,
|
||||
Ident,
|
||||
y: &Generics|
|
||||
-> @item;
|
||||
|
||||
pub fn expand_meta_deriving(cx: @ExtCtxt,
|
||||
|
||||
Reference in New Issue
Block a user