]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/pattern/pat-tuple-bad-type.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / pattern / pat-tuple-bad-type.stderr
index 3da3bcb635f19364182822f7841344cfa69c584a..95cca38f7de149880e0c381ec5f5285f1c866627 100644 (file)
@@ -13,10 +13,7 @@ error[E0308]: mismatched types
   --> $DIR/pat-tuple-bad-type.rs:10:9
    |
 LL |         (..) => {}
-   |         ^^^^ expected u8, found ()
-   |
-   = note: expected type `u8`
-              found type `()`
+   |         ^^^^ expected `u8`, found `()`
 
 error: aborting due to 2 previous errors