mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Make Canonical::new a free-standing function
This commit is contained in:
parent
9b4ecd3723
commit
d1b645d236
2 changed files with 13 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue