I noticed this for tests/ui/error-codes/E0388.rs and tests/ui/error-codes/E0017.rs, which both don't trigger the respective error code. I did some random sampling and most tests are fine, but found one more that is not: tests/ui/error-codes/E0396.rs.