]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr
Point at type in `let` assignment on type errors
[rust.git] / src / test / ui / methods / method-deref-to-same-trait-object-with-separate-params.stderr
index bfec363eb997ac7e3c33fc86f09b847520f39dab..c9d7da84e09f421b3c85c8b6a958938aae03f0b2 100644 (file)
@@ -2,13 +2,17 @@ error[E0308]: mismatched types
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:85:24
    |
 LL |     let _seetype: () = z;
-   |                        ^ expected `()`, found `u32`
+   |                   --   ^ expected `()`, found `u32`
+   |                   |
+   |                   expected due to this
 
 error[E0308]: mismatched types
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:102:24
    |
 LL |     let _seetype: () = z;
-   |                        ^ expected `()`, found `u64`
+   |                   --   ^ expected `()`, found `u64`
+   |                   |
+   |                   expected due to this
 
 error[E0034]: multiple applicable items in scope
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:120:15
@@ -39,19 +43,25 @@ error[E0308]: mismatched types
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:137:24
    |
 LL |     let _seetype: () = z;
-   |                        ^ expected `()`, found `u8`
+   |                   --   ^ expected `()`, found `u8`
+   |                   |
+   |                   expected due to this
 
 error[E0308]: mismatched types
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:155:24
    |
 LL |     let _seetype: () = z;
-   |                        ^ expected `()`, found `u32`
+   |                   --   ^ expected `()`, found `u32`
+   |                   |
+   |                   expected due to this
 
 error[E0308]: mismatched types
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:172:24
    |
 LL |     let _seetype: () = z;
-   |                        ^ expected `()`, found `u32`
+   |                   --   ^ expected `()`, found `u32`
+   |                   |
+   |                   expected due to this
 
 error: aborting due to 6 previous errors