rust/tests/ui/parser/do-not-suggest-semicolon-before-array.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
111 B
Rust
Raw Normal View History

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