blob: f96e8e02d4ec03ca347561411e397ed1b8cb0c8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
warning: the feature `const_generics` is incomplete and may cause the compiler to crash
--> $DIR/issue-61336.rs:1:12
|
LL | #![feature(const_generics)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
error: array lengths can't depend on generic parameters
--> $DIR/issue-61336.rs:5:9
|
LL | [x; N]
| ^
error: array lengths can't depend on generic parameters
--> $DIR/issue-61336.rs:10:9
|
LL | [x; N]
| ^
error: aborting due to 2 previous errors
|