Unnamed repository; edit this file 'description' to name the repository.
Add FIXMEs for emitting an error
Chayim Refael Friedman 2 weeks ago
parent e7c87b4 · commit 809de21
-rw-r--r--crates/hir-ty/src/lower/path.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir-ty/src/lower/path.rs b/crates/hir-ty/src/lower/path.rs
index c81e4647d8..2a23e07a03 100644
--- a/crates/hir-ty/src/lower/path.rs
+++ b/crates/hir-ty/src/lower/path.rs
@@ -483,6 +483,7 @@ impl<'a, 'b, 'db> PathLoweringContext<'a, 'b, 'db> {
assoc_name.clone(),
)
else {
+ // FIXME: Emit an error.
return error_ty();
};
assoc_type
@@ -503,6 +504,7 @@ impl<'a, 'b, 'db> PathLoweringContext<'a, 'b, 'db> {
assoc_name.clone(),
)
else {
+ // FIXME: Emit an error.
return error_ty();
};
let (assoc_type, trait_args) = assoc_type