diff options
Diffstat (limited to 'crates/hir/src')
-rw-r--r-- | crates/hir/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 19901ed33..b9255dd1d 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs | |||
@@ -1822,7 +1822,7 @@ impl Type { | |||
1822 | match db.trait_solve(self.krate, goal)? { | 1822 | match db.trait_solve(self.krate, goal)? { |
1823 | Solution::Unique(SolutionVariables(subst)) => subst | 1823 | Solution::Unique(SolutionVariables(subst)) => subst |
1824 | .value | 1824 | .value |
1825 | .interned(&Interner) | 1825 | .interned() |
1826 | .first() | 1826 | .first() |
1827 | .map(|ty| self.derived(ty.assert_ty_ref(&Interner).clone())), | 1827 | .map(|ty| self.derived(ty.assert_ty_ref(&Interner).clone())), |
1828 | Solution::Ambig(_) => None, | 1828 | Solution::Ambig(_) => None, |