Several of the tests in tests/ui/error-codes/ do not actually test the respective error code · Issue #120935 · rust-lang/rust (original) (raw)
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.