librustc: Remove remaining uses of &fn() in favor of ||.

This commit is contained in:
Patrick Walton
2013-11-19 17:36:32 -08:00
parent 406813957b
commit 9e610573ba
72 changed files with 163 additions and 153 deletions

View File

@@ -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,