Remove Session::crate_types_opt
?
#72427
Labels
A-codegen
Area: Code generation
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.
See #72256 (comment) for context.
There's only one place in the compiler that can't call
Session::crate_types
because that field is sometimes uninitialized.rust/src/librustc_codegen_llvm/context.rs
Lines 100 to 103 in 31add7e
Perhaps this indicates that we want to force initialization of
crate_types
somewhere?The text was updated successfully, but these errors were encountered: