diff options
| author | Andrew Paseltiner <apaseltiner@gmail.com> | 2013-03-20 11:52:45 -0400 |
|---|---|---|
| committer | Andrew Paseltiner <apaseltiner@gmail.com> | 2013-03-22 06:30:59 -0400 |
| commit | e2abecd3ab406ce447a8b23c8a7563e9c455f870 (patch) | |
| tree | e1a2cd1af8878d1f4f37fb21e4c544d1131cd000 /src/libsyntax/ext | |
| parent | 6e883c730e0d6b07a8a94df30c681a292a031b18 (diff) | |
| download | rust-e2abecd3ab406ce447a8b23c8a7563e9c455f870.tar.gz rust-e2abecd3ab406ce447a8b23c8a7563e9c455f870.zip | |
syntax: replace uses of old deriving attribute with new one
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/auto_encode.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/ext/deriving/mod.rs | 4 | ||||
| -rw-r--r-- | src/libsyntax/ext/pipes/proto.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/ext/auto_encode.rs b/src/libsyntax/ext/auto_encode.rs index 3ab95258f03..e5f818eef5c 100644 --- a/src/libsyntax/ext/auto_encode.rs +++ b/src/libsyntax/ext/auto_encode.rs @@ -1204,7 +1204,7 @@ mod test { use std::serialize::Encoder; // just adding the ones I want to test, for now: - #[deriving_eq] + #[deriving(Eq)] pub enum call { CallToEmitEnum(~str), CallToEmitEnumVariant(~str, uint, uint), diff --git a/src/libsyntax/ext/deriving/mod.rs b/src/libsyntax/ext/deriving/mod.rs index 63bb4389999..57fddd623d4 100644 --- a/src/libsyntax/ext/deriving/mod.rs +++ b/src/libsyntax/ext/deriving/mod.rs @@ -8,8 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -/// The compiler code necessary to implement the #[deriving_eq] and -/// #[deriving_iter_bytes] extensions. +/// The compiler code necessary to implement the #[deriving(Eq)] and +/// #[deriving(IterBytes)] extensions. use core::prelude::*; diff --git a/src/libsyntax/ext/pipes/proto.rs b/src/libsyntax/ext/pipes/proto.rs index a47b39a45c8..d72da6f2d35 100644 --- a/src/libsyntax/ext/pipes/proto.rs +++ b/src/libsyntax/ext/pipes/proto.rs @@ -17,7 +17,7 @@ use ext::pipes::ast_builder::{append_types, ext_ctxt_ast_builder, path}; use core::to_str::ToStr; -#[deriving_eq] +#[deriving(Eq)] pub enum direction { send, recv } impl ToStr for direction { |
