mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
ece99775da
Emit `check-cfg` lints during attribute parsing rather than evaluation The goal of this PR is to make the `eval_config_entry` not have any side effects, by moving the check-cfg lints to the attribute parsing. This also helps ensure we do emit the lint in situations where the attribute happens to be parsed, but never evaluated. cc ``@jdonszelmann`` ``@Urgau`` for a vibe check if you feel like it