rust/tests/ui/issues/issue-39211.stderr

11 lines
276 B
Plaintext
Raw Normal View History

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