Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/lower/diagnostics.rs')
-rw-r--r--crates/hir-ty/src/lower/diagnostics.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/hir-ty/src/lower/diagnostics.rs b/crates/hir-ty/src/lower/diagnostics.rs
index 5c77bcd073..5f299aca3a 100644
--- a/crates/hir-ty/src/lower/diagnostics.rs
+++ b/crates/hir-ty/src/lower/diagnostics.rs
@@ -1,13 +1,10 @@
//! This files contains the declaration of diagnostics kinds for ty and path lowering.
-use either::Either;
use hir_def::type_ref::TypeRefId;
-type TypeSource = Either<TypeRefId, hir_def::type_ref::TypeSource>;
-
#[derive(Debug, PartialEq, Eq, Clone)]
pub struct TyLoweringDiagnostic {
- pub source: TypeSource,
+ pub source: TypeRefId,
pub kind: TyLoweringDiagnosticKind,
}