* omit several error messages when in_generic is true because the error can be checked only during specialisation, resolves the issue reported in #21592 git-svn-id: trunk@20699 -