From af93c20c06ec1f577f0544aaf98403a5d9ff143c Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Fri, 20 Oct 2023 10:06:08 +0000 Subject: Rename lots of files that had `generator` in their name --- src/tools/rustfmt/tests/source/immovable_coroutines.rs | 7 +++++++ src/tools/rustfmt/tests/source/immovable_generators.rs | 7 ------- src/tools/rustfmt/tests/target/immovable_coroutines.rs | 7 +++++++ src/tools/rustfmt/tests/target/immovable_generators.rs | 7 ------- 4 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 src/tools/rustfmt/tests/source/immovable_coroutines.rs delete mode 100644 src/tools/rustfmt/tests/source/immovable_generators.rs create mode 100644 src/tools/rustfmt/tests/target/immovable_coroutines.rs delete mode 100644 src/tools/rustfmt/tests/target/immovable_generators.rs (limited to 'src/tools/rustfmt') diff --git a/src/tools/rustfmt/tests/source/immovable_coroutines.rs b/src/tools/rustfmt/tests/source/immovable_coroutines.rs new file mode 100644 index 00000000000..3b94af0c96c --- /dev/null +++ b/src/tools/rustfmt/tests/source/immovable_coroutines.rs @@ -0,0 +1,7 @@ +#![feature(coroutines)] + +unsafe fn foo() { + let mut ga = static || { + yield 1; + }; +} diff --git a/src/tools/rustfmt/tests/source/immovable_generators.rs b/src/tools/rustfmt/tests/source/immovable_generators.rs deleted file mode 100644 index 3b94af0c96c..00000000000 --- a/src/tools/rustfmt/tests/source/immovable_generators.rs +++ /dev/null @@ -1,7 +0,0 @@ -#![feature(coroutines)] - -unsafe fn foo() { - let mut ga = static || { - yield 1; - }; -} diff --git a/src/tools/rustfmt/tests/target/immovable_coroutines.rs b/src/tools/rustfmt/tests/target/immovable_coroutines.rs new file mode 100644 index 00000000000..f52cfa00f97 --- /dev/null +++ b/src/tools/rustfmt/tests/target/immovable_coroutines.rs @@ -0,0 +1,7 @@ +#![feature(coroutines)] + +unsafe fn foo() { + let mut ga = static || { + yield 1; + }; +} diff --git a/src/tools/rustfmt/tests/target/immovable_generators.rs b/src/tools/rustfmt/tests/target/immovable_generators.rs deleted file mode 100644 index f52cfa00f97..00000000000 --- a/src/tools/rustfmt/tests/target/immovable_generators.rs +++ /dev/null @@ -1,7 +0,0 @@ -#![feature(coroutines)] - -unsafe fn foo() { - let mut ga = static || { - yield 1; - }; -} -- cgit 1.4.1-3-g733a5