omit summary in diagnose because it counts some errors twice