We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8bd955 commit 2fd2a56Copy full SHA for 2fd2a56
src/test/compile-fail/regions-in-consts.rs
@@ -1,7 +1,5 @@
1
-// xfail-test
2
-
3
-const c_x: &blk/int = 22; //~ ERROR only the static region is allowed here
4
-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;
5
6
fn main() {
7
}
0 commit comments