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

5 lines
121 B
Rust
Raw Normal View History

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