]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/pattern/pat-tuple-bad-type.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / pattern / pat-tuple-bad-type.stderr
index 11b28987848d6c0458cf830ac1e69ad545bdad80..3342b8e4002b909ce770b6aceeef2b8aaec128a9 100644 (file)
@@ -3,8 +3,10 @@ error[E0282]: type annotations needed
    |
 LL |     let x;
    |         ^
+...
+LL |         (..) => {}
+   |         ---- type must be known at this point
    |
-   = note: type must be known at this point
 help: consider giving `x` an explicit type
    |
 LL |     let x: _;