1
Fork 0

Move some codegen-y methods from rustc_hir_analysis::collect -> rustc_codegen_ssa

This commit is contained in:
Michael Goulet 2022-12-08 03:53:35 +00:00
parent b96d9e0e20
commit a8a45100a0
8 changed files with 857 additions and 828 deletions

View file

@ -253,13 +253,6 @@ pub struct ExternCrateNotIdiomatic {
pub suggestion_code: String,
}
#[derive(Diagnostic)]
#[diag(hir_analysis_expected_used_symbol)]
pub struct ExpectedUsedSymbol {
#[primary_span]
pub span: Span,
}
#[derive(Diagnostic)]
#[diag(hir_analysis_const_impl_for_non_const_trait)]
pub struct ConstImplForNonConstTrait {