Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/mapping.rs')
| -rw-r--r-- | crates/hir-ty/src/mapping.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/hir-ty/src/mapping.rs b/crates/hir-ty/src/mapping.rs index c24ae5f618..fba760974f 100644 --- a/crates/hir-ty/src/mapping.rs +++ b/crates/hir-ty/src/mapping.rs @@ -103,15 +103,15 @@ impl From<crate::db::InternedClosureId> for chalk_ir::ClosureId<Interner> { } } -impl From<chalk_ir::GeneratorId<Interner>> for crate::db::InternedCoroutineId { - fn from(id: chalk_ir::GeneratorId<Interner>) -> Self { +impl From<chalk_ir::CoroutineId<Interner>> for crate::db::InternedCoroutineId { + fn from(id: chalk_ir::CoroutineId<Interner>) -> Self { Self::from_intern_id(id.0) } } -impl From<crate::db::InternedCoroutineId> for chalk_ir::GeneratorId<Interner> { +impl From<crate::db::InternedCoroutineId> for chalk_ir::CoroutineId<Interner> { fn from(id: crate::db::InternedCoroutineId) -> Self { - chalk_ir::GeneratorId(id.as_intern_id()) + chalk_ir::CoroutineId(id.as_intern_id()) } } |