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
}
trait get_chowder {
fn get_chowder() -> &self/int;
trait get_chowder<'self> {
fn get_chowder() -> &'self int;
}
impl get_chowder for Clam {
fn get_chowder() -> &self/int { return self.chowder; }
impl<'self> get_chowder<'self> for Clam<'self> {
fn get_chowder() -> &'self int { return self.chowder; }
}
pub fn main() {