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.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/hir-ty/src/mapping.rs b/crates/hir-ty/src/mapping.rs
index f80fb39c1f..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::InternedGeneratorId {
- 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::InternedGeneratorId> for chalk_ir::GeneratorId<Interner> {
- fn from(id: crate::db::InternedGeneratorId) -> Self {
- chalk_ir::GeneratorId(id.as_intern_id())
+impl From<crate::db::InternedCoroutineId> for chalk_ir::CoroutineId<Interner> {
+ fn from(id: crate::db::InternedCoroutineId) -> Self {
+ chalk_ir::CoroutineId(id.as_intern_id())
}
}