From de42ac39709f2307f20530c587bc2bdd110524fc Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Tue, 30 Aug 2022 12:42:54 -0700 Subject: [PATCH] Move dyn* tests to their own directory --- .../{async-await/dyn-star-trait-const.rs => dyn-star/const.rs} | 0 .../ui/{async-await/dyn-star-trait-drop.rs => dyn-star/drop.rs} | 0 .../dyn-star-trait-drop.run.stdout => dyn-star/drop.run.stdout} | 0 .../{async-await/dyn-star-trait-error.rs => dyn-star/error.rs} | 0 .../dyn-star-trait-error.stderr => dyn-star/error.stderr} | 2 +- .../dyn-star-trait-method.rs => dyn-star/method.rs} | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename src/test/ui/{async-await/dyn-star-trait-const.rs => dyn-star/const.rs} (100%) rename src/test/ui/{async-await/dyn-star-trait-drop.rs => dyn-star/drop.rs} (100%) rename src/test/ui/{async-await/dyn-star-trait-drop.run.stdout => dyn-star/drop.run.stdout} (100%) rename src/test/ui/{async-await/dyn-star-trait-error.rs => dyn-star/error.rs} (100%) rename src/test/ui/{async-await/dyn-star-trait-error.stderr => dyn-star/error.stderr} (88%) rename src/test/ui/{async-await/dyn-star-trait-method.rs => dyn-star/method.rs} (100%) diff --git a/src/test/ui/async-await/dyn-star-trait-const.rs b/src/test/ui/dyn-star/const.rs similarity index 100% rename from src/test/ui/async-await/dyn-star-trait-const.rs rename to src/test/ui/dyn-star/const.rs diff --git a/src/test/ui/async-await/dyn-star-trait-drop.rs b/src/test/ui/dyn-star/drop.rs similarity index 100% rename from src/test/ui/async-await/dyn-star-trait-drop.rs rename to src/test/ui/dyn-star/drop.rs diff --git a/src/test/ui/async-await/dyn-star-trait-drop.run.stdout b/src/test/ui/dyn-star/drop.run.stdout similarity index 100% rename from src/test/ui/async-await/dyn-star-trait-drop.run.stdout rename to src/test/ui/dyn-star/drop.run.stdout diff --git a/src/test/ui/async-await/dyn-star-trait-error.rs b/src/test/ui/dyn-star/error.rs similarity index 100% rename from src/test/ui/async-await/dyn-star-trait-error.rs rename to src/test/ui/dyn-star/error.rs diff --git a/src/test/ui/async-await/dyn-star-trait-error.stderr b/src/test/ui/dyn-star/error.stderr similarity index 88% rename from src/test/ui/async-await/dyn-star-trait-error.stderr rename to src/test/ui/dyn-star/error.stderr index 932bc50ffde..92ae2780d29 100644 --- a/src/test/ui/async-await/dyn-star-trait-error.stderr +++ b/src/test/ui/dyn-star/error.stderr @@ -1,5 +1,5 @@ error[E0277]: the trait bound `{integer}: Foo` is not satisfied - --> $DIR/dyn-star-trait-error.rs:9:27 + --> $DIR/error.rs:9:27 | LL | let dyn_i: dyn* Foo = i as dyn* Foo; | ^ the trait `Foo` is not implemented for `{integer}` diff --git a/src/test/ui/async-await/dyn-star-trait-method.rs b/src/test/ui/dyn-star/method.rs similarity index 100% rename from src/test/ui/async-await/dyn-star-trait-method.rs rename to src/test/ui/dyn-star/method.rs