mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
278 B
Plaintext
11 lines
278 B
Plaintext
error: constant expression depends on a generic parameter
|
|
--> $DIR/issue-39211.rs:9:17
|
|
|
|
|
LL | let a = [3; M::Row::DIM];
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= note: this may fail depending on what value the parameter takes
|
|
|
|
error: aborting due to 1 previous error
|
|
|