mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 17:48:43 +00:00
7 lines
179 B
Rust
7 lines
179 B
Rust
// https://github.com/rust-lang/rust/issues/64792
|
|
struct X {}
|
|
|
|
const Y: X = X("ö"); //~ ERROR cannot find function, tuple struct or tuple variant `X` in this scope
|
|
|
|
fn main() {}
|