rust/tests/ui/parser/issues/issue-112458.rs

5 lines
121 B
Rust

fn main() {
println!("{}", x.); //~ ERROR unexpected token: `)`
//~^ ERROR cannot find value `x` in this scope
}