diff options
| author | Lindsey Kuper <lindsey@rockstargirl.org> | 2012-07-03 16:30:42 -0700 |
|---|---|---|
| committer | Lindsey Kuper <lindsey@rockstargirl.org> | 2012-07-05 11:01:43 -0700 |
| commit | 33334f3c435926422d88dcd5bfafd5e32b141111 (patch) | |
| tree | 7ab702e7bd5565be7419e853e312c8a277b69528 /src/libsyntax/ext | |
| parent | d93f3c5d835f12614f07c2d840799dd02f4780bc (diff) | |
| download | rust-33334f3c435926422d88dcd5bfafd5e32b141111.tar.gz rust-33334f3c435926422d88dcd5bfafd5e32b141111.zip | |
Change 'iface' to 'trait' internally; parse `trait` as `iface` synonym
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/auto_serialize.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/auto_serialize.rs b/src/libsyntax/ext/auto_serialize.rs index d2d685f8f7d..a1e6aa06d59 100644 --- a/src/libsyntax/ext/auto_serialize.rs +++ b/src/libsyntax/ext/auto_serialize.rs @@ -530,7 +530,7 @@ fn mk_ser_fn(cx: ext_ctxt, span: span, name: ast::ident, } let ser_bnds = @~[ - ast::bound_iface(cx.ty_path(span, + ast::bound_trait(cx.ty_path(span, ~[@"std", @"serialization", @"serializer"], ~[]))]; @@ -736,7 +736,7 @@ fn mk_deser_fn(cx: ext_ctxt, span: span, } let deser_bnds = @~[ - ast::bound_iface(cx.ty_path( + ast::bound_trait(cx.ty_path( span, ~[@"std", @"serialization", @"deserializer"], ~[]))]; |
