2020-04-08 19:47:09 +03:00
|
|
|
error: constant expression depends on a generic parameter
|
2025-07-13 15:56:27 -04:00
|
|
|
--> $DIR/generic-parameter-in-const-expression-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
|
|
|
|
2024-11-27 03:34:56 +00:00
|
|
|
error: constant expression depends on a generic parameter
|
2025-07-13 15:56:27 -04:00
|
|
|
--> $DIR/generic-parameter-in-const-expression-39211.rs:9:13
|
2024-11-27 03:34:56 +00:00
|
|
|
|
|
|
|
|
|
LL | let a = [3; M::Row::DIM];
|
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= note: this may fail depending on what value the parameter takes
|
|
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-07-15 14:11:54 -07:00
|
|
|
|