]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / methods / method-deref-to-same-trait-object-with-separate-params.stderr
index 283ef8fcba7a4e58cf5dd134eeebd6dd46770fb4..12f75d009e2e54a32f9766824e2137878e575608 100644 (file)
@@ -3,18 +3,12 @@ error[E0308]: mismatched types
    |
 LL |     let _seetype: () = z;
    |                        ^ expected (), found u32
-   |
-   = note: expected type `()`
-              found type `u32`
 
 error[E0308]: mismatched types
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:102:24
    |
 LL |     let _seetype: () = z;
    |                        ^ expected (), found u64
-   |
-   = note: expected type `()`
-              found type `u64`
 
 error[E0034]: multiple applicable items in scope
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:120:15
@@ -46,27 +40,18 @@ error[E0308]: mismatched types
    |
 LL |     let _seetype: () = z;
    |                        ^ expected (), found u8
-   |
-   = note: expected type `()`
-              found type `u8`
 
 error[E0308]: mismatched types
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:155:24
    |
 LL |     let _seetype: () = z;
    |                        ^ expected (), found u32
-   |
-   = note: expected type `()`
-              found type `u32`
 
 error[E0308]: mismatched types
   --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:172:24
    |
 LL |     let _seetype: () = z;
    |                        ^ expected (), found u32
-   |
-   = note: expected type `()`
-              found type `u32`
 
 error: aborting due to 6 previous errors