about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/compile-fail/regions-in-consts.rs6
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