aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/ty.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty.rs b/crates/ra_hir/src/ty.rs
index 3170ed24e..9b7182485 100644
--- a/crates/ra_hir/src/ty.rs
+++ b/crates/ra_hir/src/ty.rs
@@ -453,6 +453,7 @@ impl Ty {
453 { 453 {
454 substs.push(Ty::Unknown); 454 substs.push(Ty::Unknown);
455 } 455 }
456 assert_eq!(substs.len(), def_generics.params.len());
456 Substs(substs.into()) 457 Substs(substs.into())
457 } 458 }
458 459