Add a %s to the message and pretty-print the offending type (this is important if the user's code is complicated so he can see the same type the compiler sees).