Removed @self and @Trait.

This commit is contained in:
Eduard Burtescu
2014-02-07 00:38:33 +02:00
parent c13a929d58
commit b2d30b72bf
122 changed files with 627 additions and 1694 deletions

View File

@@ -964,7 +964,6 @@ pub enum ExplicitSelf_ {
SelfStatic, // no self
SelfValue, // `self`
SelfRegion(Option<Lifetime>, Mutability), // `&'lt self`, `&'lt mut self`
SelfBox, // `@self`
SelfUniq // `~self`
}
@@ -1231,6 +1230,6 @@ mod test {
},
};
// doesn't matter which encoder we use....
let _f = (@e as @serialize::Encodable<extra::json::Encoder>);
let _f = (&e as &serialize::Encodable<extra::json::Encoder>);
}
}