mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Move things in hir_ty into submodules
- all the types that will be replaced by Chalk go to `types` - `TypeWalk` impls go to `walk`
This commit is contained in:
parent
bc8b278841
commit
508a1ecad3
11 changed files with 751 additions and 707 deletions
|
@ -1822,7 +1822,7 @@ impl Type {
|
|||
match db.trait_solve(self.krate, goal)? {
|
||||
Solution::Unique(SolutionVariables(subst)) => subst
|
||||
.value
|
||||
.interned(&Interner)
|
||||
.interned()
|
||||
.first()
|
||||
.map(|ty| self.derived(ty.assert_ty_ref(&Interner).clone())),
|
||||
Solution::Ambig(_) => None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue