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

@ -548,3 +548,10 @@ pub struct ArchiveBuildFailure {
pub struct UnknownArchiveKind<'a> {
pub kind: &'a str,
}
#[derive(Diagnostic)]
#[diag(codegen_ssa_expected_used_symbol)]
pub struct ExpectedUsedSymbol {
#[primary_span]
pub span: Span,
}