diff options
Diffstat (limited to 'src/libsyntax/ext/deriving/bounds.rs')
| -rw-r--r-- | src/libsyntax/ext/deriving/bounds.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/ext/deriving/bounds.rs b/src/libsyntax/ext/deriving/bounds.rs index 0593de6db07..689a4e96aec 100644 --- a/src/libsyntax/ext/deriving/bounds.rs +++ b/src/libsyntax/ext/deriving/bounds.rs @@ -17,7 +17,7 @@ use ext::deriving::generic::ty::*; pub fn expand_deriving_unsafe_bound(cx: &mut ExtCtxt, span: Span, _: &MetaItem, - _: Annotatable, + _: &Annotatable, _: &mut FnMut(Annotatable)) { cx.span_err(span, "this unsafe trait should be implemented explicitly"); @@ -26,7 +26,7 @@ pub fn expand_deriving_unsafe_bound(cx: &mut ExtCtxt, pub fn expand_deriving_copy(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem, - item: Annotatable, + item: &Annotatable, push: &mut FnMut(Annotatable)) { let path = Path::new(vec