aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/infer
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-01-01 13:45:10 +0000
committerGitHub <[email protected]>2021-01-01 13:45:10 +0000
commit0e5fe4715360ab2f0d2954c9a8b37b247335bbcc (patch)
tree8a5f87218610fa80b1994dce8e0066ec713f6f0d /crates/hir_ty/src/infer
parent51d29fe55456e6e7af69d23982aa57c7fcf91e81 (diff)
parent18bf2e5af5875f036b321bcf9e07e9904c02510e (diff)
Merge #7080
7080: Implement ConstParams for HIR r=Veykril a=Veykril r? @flodiebold Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/infer')
-rw-r--r--crates/hir_ty/src/infer/path.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_ty/src/infer/path.rs b/crates/hir_ty/src/infer/path.rs
index 80d7ed10e..5d541104e 100644
--- a/crates/hir_ty/src/infer/path.rs
+++ b/crates/hir_ty/src/infer/path.rs
@@ -89,6 +89,7 @@ impl<'a> InferenceContext<'a> {
89 return None; 89 return None;
90 } 90 }
91 } 91 }
92 ValueNs::GenericParam(it) => return Some(self.db.const_param_ty(it)),
92 }; 93 };
93 94
94 let ty = self.db.value_ty(typable); 95 let ty = self.db.value_ty(typable);