From f937673ce2b91ae7538941536428f681fad8b5b5 Mon Sep 17 00:00:00 2001 From: Moritz Hedtke Date: Mon, 25 Dec 2023 23:12:45 +0100 Subject: [PATCH] fix: rename generator to coroutine Follow the rename in nightly (see https://blog.rust-lang.org/inside-rust/2023/10/23/coroutines.html) --- crates/hir-def/src/body.rs | 2 +- crates/hir-def/src/body/lower.rs | 14 ++++----- crates/hir-def/src/body/pretty.rs | 2 +- crates/hir-def/src/hir.rs | 2 +- crates/hir-def/src/lang_item.rs | 4 +-- crates/hir-ty/src/builder.rs | 14 ++++----- crates/hir-ty/src/chalk_db.rs | 18 +++++------ crates/hir-ty/src/db.rs | 6 ++-- crates/hir-ty/src/display.rs | 12 ++++---- crates/hir-ty/src/infer.rs | 2 +- crates/hir-ty/src/infer/closure.rs | 4 +-- crates/hir-ty/src/infer/expr.rs | 12 ++++---- crates/hir-ty/src/mapping.rs | 6 ++-- crates/hir-ty/src/mir.rs | 30 +++++++++---------- crates/hir-ty/src/mir/borrowck.rs | 6 ++-- crates/hir-ty/src/mir/monomorphization.rs | 2 +- crates/hir-ty/src/tests/coercion.rs | 2 +- crates/hir-ty/src/tests/simple.rs | 26 ++++++++-------- .../src/handlers/generate_enum_is_method.rs | 10 +++---- crates/ide-db/src/apply_change.rs | 2 +- crates/ide-db/src/lib.rs | 2 +- crates/test-utils/src/minicore.rs | 22 +++++++------- 22 files changed, 100 insertions(+), 100 deletions(-) diff --git a/crates/hir-def/src/body.rs b/crates/hir-def/src/body.rs index db28c6731ec..415800b9b79 100644 --- a/crates/hir-def/src/body.rs +++ b/crates/hir-def/src/body.rs @@ -37,7 +37,7 @@ pub struct Body { pub pats: Arena, pub bindings: Arena, pub labels: Arena