about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/errors/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_infer/src/errors/mod.rs')
-rw-r--r--compiler/rustc_infer/src/errors/mod.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/rustc_infer/src/errors/mod.rs b/compiler/rustc_infer/src/errors/mod.rs
deleted file mode 100644
index 76ea9c3433d..00000000000
--- a/compiler/rustc_infer/src/errors/mod.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-use rustc_macros::Diagnostic;
-use rustc_span::Span;
-
-#[derive(Diagnostic)]
-#[diag(infer_opaque_hidden_type)]
-pub(crate) struct OpaqueHiddenTypeDiag {
-    #[primary_span]
-    #[label]
-    pub span: Span,
-    #[note(infer_opaque_type)]
-    pub opaque_type: Span,
-    #[note(infer_hidden_type)]
-    pub hidden_type: Span,
-}