about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2019-12-08 13:34:52 +0100
committerJonas Schievink <jonasschievink@gmail.com>2020-02-21 19:41:22 +0100
commitec501903994911892bb43c388564326b70b7104b (patch)
tree92697c8ad1c123780c868352e6748c2e3b0acd3f
parenta01846f0c37d705f527e39dbeac3f886d72c1a50 (diff)
downloadrust-ec501903994911892bb43c388564326b70b7104b.tar.gz
rust-ec501903994911892bb43c388564326b70b7104b.zip
Bless test output
-rw-r--r--src/test/ui/associated-types/defaults-specialization.stderr16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/test/ui/associated-types/defaults-specialization.stderr b/src/test/ui/associated-types/defaults-specialization.stderr
index 9b10940cbc4..15146d1a9c0 100644
--- a/src/test/ui/associated-types/defaults-specialization.stderr
+++ b/src/test/ui/associated-types/defaults-specialization.stderr
@@ -69,7 +69,9 @@ error[E0308]: mismatched types
   --> $DIR/defaults-specialization.rs:88:32
    |
 LL |     let _: <B<()> as Tr>::Ty = 0u8;
-   |                                ^^^ expected associated type, found `u8`
+   |            -----------------   ^^^ expected associated type, found `u8`
+   |            |
+   |            expected due to this
    |
    = note: expected associated type `<B<()> as Tr>::Ty`
                          found type `u8`
@@ -80,7 +82,9 @@ error[E0308]: mismatched types
   --> $DIR/defaults-specialization.rs:89:32
    |
 LL |     let _: <B<()> as Tr>::Ty = true;
-   |                                ^^^^ expected associated type, found `bool`
+   |            -----------------   ^^^^ expected associated type, found `bool`
+   |            |
+   |            expected due to this
    |
    = note: expected associated type `<B<()> as Tr>::Ty`
                          found type `bool`
@@ -91,7 +95,9 @@ error[E0308]: mismatched types
   --> $DIR/defaults-specialization.rs:90:33
    |
 LL |     let _: <B2<()> as Tr>::Ty = 0u8;
-   |                                 ^^^ expected associated type, found `u8`
+   |            ------------------   ^^^ expected associated type, found `u8`
+   |            |
+   |            expected due to this
    |
    = note: expected associated type `<B2<()> as Tr>::Ty`
                          found type `u8`
@@ -102,7 +108,9 @@ error[E0308]: mismatched types
   --> $DIR/defaults-specialization.rs:91:33
    |
 LL |     let _: <B2<()> as Tr>::Ty = true;
-   |                                 ^^^^ expected associated type, found `bool`
+   |            ------------------   ^^^^ expected associated type, found `bool`
+   |            |
+   |            expected due to this
    |
    = note: expected associated type `<B2<()> as Tr>::Ty`
                          found type `bool`