Skip to content

Commit 1fadb97

Browse files
committed
testsuite: Update test for rust-lang#2478. Still xfailed
1 parent 64963d6 commit 1fadb97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/issue-2478.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// xfail-test
12-
fn foo() -> &'a int {
12+
fn foo<'a>() -> &'a int { //~ ERROR unconstrained region
1313
return &x;
1414
}
1515
static x: int = 5;

0 commit comments

Comments
 (0)