8d2faa2ae8
make invalid_value lint a bit smarter around enums Fixes https://github.com/rust-lang/rust/issues/102043