mirror of
https://git.proxmox.com/git/rustc
synced 2026-03-26 14:36:19 +00:00
11 lines
283 B
Plaintext
11 lines
283 B
Plaintext
// run-rustfix
|
|
// Parser should know when a semicolon is missing.
|
|
// https://github.com/rust-lang/rust/issues/87197
|
|
|
|
fn main() {
|
|
let x = 100; //~ ERROR: expected `;`
|
|
println!("{}", x); //~ ERROR: expected `;`
|
|
let y = 200; //~ ERROR: expected `;`
|
|
println!("{}", y);
|
|
}
|