rust/tests/ui/parser/macros-no-semicolon.rs
2023-01-11 09:32:08 +00:00

5 lines
127 B
Rust

fn main() {
assert_eq!(1, 2) //~ ERROR: expected `;`
assert_eq!(3, 4) //~ ERROR: expected `;`
println!("hello");
}