diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-15 18:34:27 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-15 18:41:17 -0800 |
| commit | 2fd2a56063637c4051ee95cf5cb49c629b900aa7 (patch) | |
| tree | 51515b7d48b3dbb46371a215524fdd2fa07111f2 /src | |
| parent | f8bd95589fceb893e5244f8f94e010a8b30f6529 (diff) | |
Update error message and un-xfail test
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/compile-fail/regions-in-consts.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/compile-fail/regions-in-consts.rs b/src/test/compile-fail/regions-in-consts.rs index 1816ed48063..d3bbc444f7a 100644 --- a/src/test/compile-fail/regions-in-consts.rs +++ b/src/test/compile-fail/regions-in-consts.rs @@ -1,7 +1,5 @@ -// xfail-test - -const c_x: &blk/int = 22; //~ ERROR only the static region is allowed here -const c_y: &static/int = &22; //~ ERROR only the static region is allowed here +const c_x: &blk/int = &22; //~ ERROR only the static region is allowed here +const c_y: &static/int = &22; fn main() { } \ No newline at end of file |
