2021-04-23 23:12:21 +01:00
|
|
|
error: unconstrained generic constant
|
2021-08-27 18:04:57 +02:00
|
|
|
--> $DIR/issue-51892.rs:14:17
|
2021-04-23 23:12:21 +01:00
|
|
|
|
|
|
|
|
LL | type Type = [u8; std::mem::size_of::<<T as Trait>::Type>()];
|
2021-08-06 15:46:20 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-04-23 23:12:21 +01:00
|
|
|
|
|
|
|
|
= help: try adding a `where` bound using this expression: `where [(); std::mem::size_of::<<T as Trait>::Type>()]:`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|