Tweak the error message for pattern synonym methods,
since they are disallowed both in class and instance declarations