some stuff shamelessly copied from ekmett/lens
-Werror during tests