2021-04-23 17:12:21 -05:00
|
|
|
error: unconstrained generic constant
|
2021-08-27 11:04:57 -05:00
|
|
|
--> $DIR/issue-51892.rs:14:17
|
2021-04-23 17:12:21 -05:00
|
|
|
|
|
|
|
|
LL | type Type = [u8; std::mem::size_of::<<T as Trait>::Type>()];
|
2021-08-06 10:46:20 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-04-23 17:12:21 -05: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
|
|
|
|
|