]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/arg-type-mismatch.stderr
Rollup merge of #82259 - osa1:issue82156, r=petrochenkov
[rust.git] / src / test / ui / arg-type-mismatch.stderr
index d41abd1aa816d713267cee9296024696c87923c8..05b21efeecec48b6ad3c9496804153eff903daef 100644 (file)
@@ -2,10 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/arg-type-mismatch.rs:5:30
    |
 LL | fn main() { let i: (); i = f(()); }
-   |                              ^^ expected isize, found ()
-   |
-   = note: expected type `isize`
-              found type `()`
+   |                              ^^ expected `isize`, found `()`
 
 error: aborting due to previous error