There should probably also be a warning if the class/struct has toHash without opEquals