rust/tests/ui/issues/issue-64792-bad-unicode-ctor.rs
2023-01-11 09:32:08 +00:00

6 lines
126 B
Rust

struct X {}
const Y: X = X("ö"); //~ ERROR expected function, tuple struct or tuple variant, found struct `X`
fn main() {}