mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
7cd42a77fb
It's currrently `(Option<(Level, Option<LintExpectationId>)>, LintLevelSource)`. But when the first element of the pair is `None` the second element is always `LintLevelSource::Default`. So this commit moves the `LintLevelSource` within the `Option`, which simplifies things a bit.
For more information about how rustc works, see the rustc dev guide.