]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/type/type-check/assignment-expected-bool.stderr
New upstream version 1.58.1+dfsg1
[rustc.git] / src / test / ui / type / type-check / assignment-expected-bool.stderr
index 862ac65bc24e436a984d804a64f1c227f5b5821c..e2b821f7b05e902abceaba706a4fd1f5494f3dd4 100644 (file)
@@ -48,10 +48,6 @@ error[E0308]: mismatched types
 LL |     if 0 = 0 {}
    |        ^^^^^ expected `bool`, found `()`
    |
-help: you might have meant to use pattern matching
-   |
-LL |     if let 0 = 0 {}
-   |        +++
 help: you might have meant to compare for equality
    |
 LL |     if 0 == 0 {}