mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 21:02:04 +00:00
9 lines
141 B
Rust
9 lines
141 B
Rust
const FOO: *const u32 = {
|
|
let x;
|
|
&x //~ ERROR E0381
|
|
};
|
|
|
|
fn main() {
|
|
let FOO = FOO; // ok, the `const` already emitted an error
|
|
}
|