mirror of
https://git.proxmox.com/git/rustc
synced 2025-10-14 23:23:41 +00:00
5 lines
104 B
Rust
5 lines
104 B
Rust
static X: i32 = 42;
|
|
const Y: i32 = X; //~ ERROR constants cannot refer to statics [E0013]
|
|
|
|
fn main() {}
|