rust/src/test/compile-fail/issue-3036.rs
2012-07-30 16:09:52 -07:00

7 lines
132 B
Rust

// Testing that semicolon tokens are printed correctly in errors
fn main()
{
let x = 3
} //~ ERROR: expected `;` but found `}`