Skip to content

Commit

Permalink
testsuite: Update test for rust-lang#2478. Still xfailed
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed May 21, 2013
1 parent 64963d6 commit 1fadb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-2478.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// xfail-test
fn foo() -> &'a int {
fn foo<'a>() -> &'a int { //~ ERROR unconstrained region
return &x;
}
static x: int = 5;
Expand Down

0 comments on commit 1fadb97

Please sign in to comment.