fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
283 B10 linesraw
1// run-rustfix
2// Parser should know when a semicolon is missing.
3// https://github.com/rust-lang/rust/issues/87197
4
5fn main() {
6    let x = 100; //~ ERROR: expected `;`
7    println!("{}", x); //~ ERROR: expected `;`
8    let y = 200; //~ ERROR: expected `;`
9    println!("{}", y);
10}