2020-04-08 19:47:09 +03:00
|
|
|
error: constant expression depends on a generic parameter
|
2022-01-19 16:24:49 +01:00
|
|
|
--> $DIR/issue-39211.rs:9:17
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | let a = [3; M::Row::DIM];
|
2020-04-08 19:47:09 +03:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this may fail depending on what value the parameter takes
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|