Move enum_variant_size_lint out of trans_crate(). #34018
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The
enum_variant_size_lint
is located in trans because we formerly relied on LLVM for providing type layouts. This is not true any more and after collector-driven trans lands,enum_variant_size_lint
is the only reason we walk the HIR intrans_crate()
at all. This should be cleaned up.The text was updated successfully, but these errors were encountered: