mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Rename Ty::interned to Ty::kind
... since that's the actual method on Chalk side that matches the signature.
This commit is contained in:
parent
8289b96216
commit
c551604b5a
17 changed files with 73 additions and 75 deletions
|
@ -138,7 +138,7 @@ pub(crate) fn trait_solve_query(
|
|||
..
|
||||
})) = &goal.value.goal
|
||||
{
|
||||
if let TyKind::BoundVar(_) = projection_ty.self_type_parameter().interned(&Interner) {
|
||||
if let TyKind::BoundVar(_) = projection_ty.self_type_parameter().kind(&Interner) {
|
||||
// Hack: don't ask Chalk to normalize with an unknown self type, it'll say that's impossible
|
||||
return Some(Solution::Ambig(Guidance::Unknown));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue