rust/tests/ui/parser/do-not-suggest-semicolon-be...

9 lines
111 B
Rust

fn foo() {}
fn bar() -> [u8; 2] {
foo()
[1, 3) //~ ERROR mismatched closing delimiter
}
fn main() {}