fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0308]: mismatched types 2 --> $DIR/issue-62504.rs:18:21 3 | 4LL | ArrayHolder([0; Self::SIZE]) 5 | ^^^^^^^^^^^^^^^ expected `X`, found `Self::SIZE` 6 | 7 = note: expected array `[u32; _]` 8 found array `[u32; _]` 9 10error: constant expression depends on a generic parameter 11 --> $DIR/issue-62504.rs:18:25 12 | 13LL | ArrayHolder([0; Self::SIZE]) 14 | ^^^^^^^^^^ 15 | 16 = note: this may fail depending on what value the parameter takes 17 18error: aborting due to 2 previous errors 19 20For more information about this error, try `rustc --explain E0308`.