update this test to use the new syntax entirely

This commit is contained in:
Niko Matsakis 2013-02-13 16:15:29 -08:00
parent 6c728e32c0
commit d3f3d0731c

View File

@ -12,12 +12,12 @@ struct Clam<'self> {
chowder: &'self int chowder: &'self int
} }
trait get_chowder { trait get_chowder<'self> {
fn get_chowder() -> &self/int; fn get_chowder() -> &'self int;
} }
impl get_chowder for Clam { impl<'self> get_chowder<'self> for Clam<'self> {
fn get_chowder() -> &self/int { return self.chowder; } fn get_chowder() -> &'self int { return self.chowder; }
} }
pub fn main() { pub fn main() {