9 lines
139 B
Rust
9 lines
139 B
Rust
|
fn foo() {}
|
||
|
|
||
|
fn bar() -> [u8; 2] {
|
||
|
foo()
|
||
|
[1, 3) //~ ERROR expected one of `.`, `?`, `]`, or an operator, found `,`
|
||
|
}
|
||
|
|
||
|
fn main() {}
|