Files
rust/tests/ui/parser/unicode-string-literal-syntax-error-64792.rs

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() {}