Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/infer.rs')
-rw-r--r--crates/hir-ty/src/infer.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/hir-ty/src/infer.rs b/crates/hir-ty/src/infer.rs
index e295dd8d4e..ac15b175ae 100644
--- a/crates/hir-ty/src/infer.rs
+++ b/crates/hir-ty/src/infer.rs
@@ -218,6 +218,9 @@ pub enum InferenceDiagnostic {
/// Contains the type the field resolves to
field_with_same_name: Option<Ty>,
},
+ UnresolvedAssocItem {
+ id: ExprOrPatId,
+ },
// FIXME: This should be emitted in body lowering
BreakOutsideOfLoop {
expr: ExprId,