From d1b645d2360fb6e74aaa774ff713af02f685a110 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Wed, 7 Apr 2021 20:47:04 +0200 Subject: Make Canonical::new a free-standing function --- crates/hir/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir') diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index f5cb7a4df..7ac9118fa 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -1808,7 +1808,7 @@ impl Type { .push(self.ty.clone()) .fill(args.iter().map(|t| t.ty.clone())) .build(); - let goal = Canonical::new( + let goal = hir_ty::make_canonical( InEnvironment::new( self.env.env.clone(), AliasEq { -- cgit v1.2.3