about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/errors/mod.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-10-01 16:11:48 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-10-07 09:50:50 +1100
commit7a9bbd05c42f1c6b0d920a4e741ea28452916c99 (patch)
treed149ca3f3cba6d9e45aef4bb4991de25d140db2d /compiler/rustc_infer/src/errors/mod.rs
parentcfeee7bcbf182a6c22083c7dfb56c6034a65d0a0 (diff)
downloadrust-7a9bbd05c42f1c6b0d920a4e741ea28452916c99.tar.gz
rust-7a9bbd05c42f1c6b0d920a4e741ea28452916c99.zip
Rename `errors/mod.rs` as `errors.rs`.
It's simpler, for this tiny module.
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,
-}