Skip to content

Commit

Permalink
Use updated local declaration syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
danluu committed Oct 20, 2013
1 parent 69860b7 commit 47fc24b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs
@@ -1,5 +1,3 @@
// xfail-test FIXME #6257

// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
Expand All @@ -16,9 +14,8 @@ use std::cmp::{Less,Equal,Greater};
struct A<'self> {
x: &'self int
}

fn main() {
let a = A { x: &1 }, b = A { x: &2 };
let (a, b) = (A { x: &1 }, A { x: &2 });

assert!(a.equals(&a));
assert!(b.equals(&b));
Expand Down

4 comments on commit 47fc24b

@bors
Copy link
Contributor

@bors bors commented on 47fc24b Oct 21, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 47fc24b Oct 21, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging danluu/rust/local_delc_xfail = 47fc24b into auto

@bors
Copy link
Contributor

@bors bors commented on 47fc24b Oct 21, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

danluu/rust/local_delc_xfail = 47fc24b merged ok, testing candidate = 1414e87

Please sign in to comment.