| ... | @@ -95,7 +95,7 @@ pub fn hash(hasher: anytype, key: anytype, comptime strat: HashStrategy) void { | ... | @@ -95,7 +95,7 @@ pub fn hash(hasher: anytype, key: anytype, comptime strat: HashStrategy) void { |
| 95 | .EnumLiteral, | 95 | .EnumLiteral, |
| 96 | .Frame, | 96 | .Frame, |
| 97 | .Float, | 97 | .Float, |
| 98 | => @compileError("cannot hash this type"), | 98 | => @compileError("unable to hash type " ++ @typeName(Key)), |
| 99 | | 99 | |
| 100 | // Help the optimizer see that hashing an int is easy by inlining! | 100 | // Help the optimizer see that hashing an int is easy by inlining! |
| 101 | // TODO Check if the situation is better after #561 is resolved. | 101 | // TODO Check if the situation is better after #561 is resolved. |