about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-09 03:52:45 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-06-15 19:18:09 +0200
commitfd44b7655b7e37c6ef5d07511aa084c089b205ef (patch)
treeffba1bfbfb82f83dd0402c929bfa8c40ba10c7e6
parent6d1ecb3c950c37ae19e8fbfc52728630124ba41a (diff)
downloadrust-fd44b7655b7e37c6ef5d07511aa084c089b205ef.tar.gz
rust-fd44b7655b7e37c6ef5d07511aa084c089b205ef.zip
type-alias-enum-variants-priority-2: rename to something descriptive.
-rw-r--r--src/test/ui/type-alias-enum-variants/enum-variant-priority-higher-than-other-inherent.rs (renamed from src/test/ui/type-alias-enum-variants/type-alias-enum-variants-priority-2.rs)0
-rw-r--r--src/test/ui/type-alias-enum-variants/enum-variant-priority-higher-than-other-inherent.stderr (renamed from src/test/ui/type-alias-enum-variants/type-alias-enum-variants-priority-2.stderr)4
2 files changed, 2 insertions, 2 deletions
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
index fa3e1a35fc2..fa3e1a35fc2 100644
--- 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
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
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 |     <E>::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 = <E2>::V;
    |                 ^^^^^^^ expected u8, found enum `E2`