mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 01:55:03 +00:00
testsuite: Update test for #2478. Still xfailed
This commit is contained in:
parent
64963d6cba
commit
1fadb97b68
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user