report unused-value warning also for warn_unused types