2db4259b35
Also, some other changes that came up along the way: - add a 'blk' region for the current block. - detect unused type/region variables.
7 lines
183 B
Rust
7 lines
183 B
Rust
// 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
|
|
|
|
fn main() {
|
|
} |