From fd44b7655b7e37c6ef5d07511aa084c089b205ef Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Sun, 9 Jun 2019 03:52:45 +0200 Subject: [PATCH] type-alias-enum-variants-priority-2: rename to something descriptive. --- ...rs => enum-variant-priority-higher-than-other-inherent.rs} | 0 ...> enum-variant-priority-higher-than-other-inherent.stderr} | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/test/ui/type-alias-enum-variants/{type-alias-enum-variants-priority-2.rs => enum-variant-priority-higher-than-other-inherent.rs} (100%) rename src/test/ui/type-alias-enum-variants/{type-alias-enum-variants-priority-2.stderr => enum-variant-priority-higher-than-other-inherent.stderr} (79%) diff --git a/src/test/ui/type-alias-enum-variants/type-alias-enum-variants-priority-2.rs b/src/test/ui/type-alias-enum-variants/enum-variant-priority-higher-than-other-inherent.rs similarity index 100% rename from src/test/ui/type-alias-enum-variants/type-alias-enum-variants-priority-2.rs rename to src/test/ui/type-alias-enum-variants/enum-variant-priority-higher-than-other-inherent.rs diff --git a/src/test/ui/type-alias-enum-variants/type-alias-enum-variants-priority-2.stderr b/src/test/ui/type-alias-enum-variants/enum-variant-priority-higher-than-other-inherent.stderr similarity index 79% rename from src/test/ui/type-alias-enum-variants/type-alias-enum-variants-priority-2.stderr rename to src/test/ui/type-alias-enum-variants/enum-variant-priority-higher-than-other-inherent.stderr index 5c4b038fd30..0394ddab46c 100644 --- a/src/test/ui/type-alias-enum-variants/type-alias-enum-variants-priority-2.stderr +++ b/src/test/ui/type-alias-enum-variants/enum-variant-priority-higher-than-other-inherent.stderr @@ -1,5 +1,5 @@ error[E0061]: this function takes 1 parameter but 0 parameters were supplied - --> $DIR/type-alias-enum-variants-priority-2.rs:21:5 + --> $DIR/enum-variant-priority-higher-than-other-inherent.rs:21:5 | LL | V(u8) | ----- defined here @@ -8,7 +8,7 @@ LL | ::V(); | ^^^^^^^^ expected 1 parameter error[E0308]: mismatched types - --> $DIR/type-alias-enum-variants-priority-2.rs:22:17 + --> $DIR/enum-variant-priority-higher-than-other-inherent.rs:22:17 | LL | let _: u8 = ::V; | ^^^^^^^ expected u8, found enum `E2`