rust/src/test/compile-fail/regions-in-consts.rs
2012-11-15 18:41:17 -08:00

5 lines
120 B
Rust

const c_x: &blk/int = &22; //~ ERROR only the static region is allowed here
const c_y: &static/int = &22;
fn main() {
}