Can array lengths be inferred in Rust? : <p>I can do this:</p>

<pre><code>let a: [f32; 3] = [0.0, 1.0, 2.0];
</code></pre>

<p>But why doesn't this work?</p>

<pre><code>let a: [f32; _] = [0.0, 1.0, 2.0];
</code></pre>

<p>It seems to me that the length is redundant and trivial to infer. Is there a way to avoid having to specify it explicitly? (And without having to append <code>f32</code> to all the literals.)</p>
