const ジェネリックパラメーターに非構造照合型が使用されていることを報告します。 構造照合型 (PartialEq と Eq を導出し、ConstParamTy を実装する型) は const ジェネリックパラメーターでのみ使用できます。
PartialEq
Eq
ConstParamTy