mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
4 lines
124 B
Rust
4 lines
124 B
Rust
fn main() {
|
|
let _ = [0; (&0 as *const i32) as usize]; //~ ERROR pointers cannot be cast to integers during const eval
|
|
}
|