mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
321 B
Plaintext
11 lines
321 B
Plaintext
error: constant expression depends on a generic parameter
|
|
--> $DIR/issue-67739.rs:11:15
|
|
|
|
|
LL | [0u8; mem::size_of::<Self::Associated>()];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: this may fail depending on what value the parameter takes
|
|
|
|
error: aborting due to 1 previous error
|
|
|