aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/infer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/ty/infer.rs')
-rw-r--r--crates/ra_hir/src/ty/infer.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/infer.rs b/crates/ra_hir/src/ty/infer.rs
index f5f85308c..5e4d49ffb 100644
--- a/crates/ra_hir/src/ty/infer.rs
+++ b/crates/ra_hir/src/ty/infer.rs
@@ -485,7 +485,8 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> {
485 TypableDef::TypeAlias(_) 485 TypableDef::TypeAlias(_)
486 | TypableDef::Function(_) 486 | TypableDef::Function(_)
487 | TypableDef::Enum(_) 487 | TypableDef::Enum(_)
488 | TypableDef::Const(_) => (Ty::Unknown, None), 488 | TypableDef::Const(_)
489 | TypableDef::Static(_) => (Ty::Unknown, None),
489 } 490 }
490 } 491 }
491 492