]> git.lizzy.rs Git - rust.git/commitdiff
Bless test output
authorJonas Schievink <jonasschievink@gmail.com>
Sun, 8 Dec 2019 12:34:52 +0000 (13:34 +0100)
committerJonas Schievink <jonasschievink@gmail.com>
Fri, 21 Feb 2020 18:41:22 +0000 (19:41 +0100)
src/test/ui/associated-types/defaults-specialization.stderr

index 9b10940cbc485fe621ab66a90fde299a5babfba4..15146d1a9c062d794645c3492105d2b4d020d7f6 100644 (file)
@@ -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`