Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/next_solver/structural_normalize.rs')
| -rw-r--r-- | crates/hir-ty/src/next_solver/structural_normalize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/next_solver/structural_normalize.rs b/crates/hir-ty/src/next_solver/structural_normalize.rs index 769d2ae141..0dbd97a636 100644 --- a/crates/hir-ty/src/next_solver/structural_normalize.rs +++ b/crates/hir-ty/src/next_solver/structural_normalize.rs @@ -30,7 +30,7 @@ impl<'db> At<'_, 'db> { ) -> Result<Term<'db>, Vec<NextSolverError<'db>>> { assert!(!term.is_infer(), "should have resolved vars before calling"); - if term.to_alias_term().is_none() { + if term.to_alias_term(self.infcx.interner).is_none() { return Ok(term); } |