Improve diagnostic message for C-style type syntax