diff --git a/src/test/ui/traits/copy-is-not-modulo-regions.not_static.stderr b/tests/ui/traits/copy-is-not-modulo-regions.not_static.stderr similarity index 100% rename from src/test/ui/traits/copy-is-not-modulo-regions.not_static.stderr rename to tests/ui/traits/copy-is-not-modulo-regions.not_static.stderr diff --git a/src/test/ui/traits/copy-is-not-modulo-regions.rs b/tests/ui/traits/copy-is-not-modulo-regions.rs similarity index 100% rename from src/test/ui/traits/copy-is-not-modulo-regions.rs rename to tests/ui/traits/copy-is-not-modulo-regions.rs diff --git a/src/test/ui/traits/copy-requires-self-wf.rs b/tests/ui/traits/copy-requires-self-wf.rs similarity index 100% rename from src/test/ui/traits/copy-requires-self-wf.rs rename to tests/ui/traits/copy-requires-self-wf.rs