mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +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
|
@ -378,7 +378,7 @@ impl<'a, 'b> ExprValidator<'a, 'b> {
|
|||
_ => return,
|
||||
};
|
||||
|
||||
let (params, required) = match mismatch.expected.interned(&Interner) {
|
||||
let (params, required) = match mismatch.expected.kind(&Interner) {
|
||||
TyKind::Adt(AdtId(hir_def::AdtId::EnumId(enum_id)), ref parameters)
|
||||
if *enum_id == core_result_enum =>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue