We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
struct A { i: i32}; let a = [0; A{i: 42}];
yields the expected
error: expected positive integer for repeat count, found struct [E0306]
while
struct B; let b = [0; B];
thinks that B is a variable
B
error: expected constant integer for repeat count, found variable [E0307]
PlayPen