This commit simply specifies the type which `autoHash` can't hash in the compile error. Closes #7970.