-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
fn main() -> bool {
let a: [(usize); 0] = [];
let b: [(usize); 0] = [];
for _ in join(a, b) {}
true
}fails with
Parse error on line 2:28.
Expected an expression:
| fn main() -> bool {
2 > | let a: [(usize); 0] = [];
> | ^
| let b: [(usize); 0] = [];
Expected
It should be possible to create an empty array, even if that is not useful for most programs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working