mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
e16a8b93ba
Treat custom enum discriminant values as constants fixes #9882 changelog: All lints: Don't lint in enum discriminant values when the suggestion won't work in a const context