about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-12-08 03:53:35 +0000
committerMichael Goulet <michael@errs.io>2022-12-13 05:01:36 +0000
commita8a45100a0593ed0c39ebe1b601be765a8f5fd5c (patch)
tree7b06800a6becb06c06d578732d4b441f8da00de8 /compiler/rustc_hir_analysis/src/errors.rs
parentb96d9e0e20adb7716aa32a56fe96fde15c75d517 (diff)
downloadrust-a8a45100a0593ed0c39ebe1b601be765a8f5fd5c.tar.gz
rust-a8a45100a0593ed0c39ebe1b601be765a8f5fd5c.zip
Move some codegen-y methods from rustc_hir_analysis::collect -> rustc_codegen_ssa
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/errors.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs
index c92ab749bc1..d9697c63c56 100644
--- a/compiler/rustc_hir_analysis/src/errors.rs
+++ b/compiler/rustc_hir_analysis/src/errors.rs
@@ -254,13 +254,6 @@ pub struct ExternCrateNotIdiomatic {
 }
 
 #[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 {
     #[primary_span]