Auto merge of #11332 - weihanglo:fix-semver-check, r=Muscraft
Auto merge of #11332 - weihanglo:fix-semver-check, r=Muscraft

fix(semver-check): adapt to a different error for variant not covered

rust-lang/cargo,rustyhorde/cargo,rust-lang/cargo,rustyhorde/cargo,rustyhorde/cargo,eminence/cargo,rust-lang/cargo,rust-lang/cargo,eminence/cargo,eminence/cargo,eminence/cargo,rustyhorde/cargo