]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/mismatched_types/for-loop-has-unit-body.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / mismatched_types / for-loop-has-unit-body.stderr
index 3c8ba8057c55a060e442785ca6f4c7825b6f4760..97b1139abd5996856d1e14160bad6e860592d4e1 100644 (file)
@@ -3,9 +3,6 @@ error[E0308]: mismatched types
    |
 LL |         x
    |         ^ expected (), found integer
-   |
-   = note: expected type `()`
-              found type `{integer}`
 
 error: aborting due to previous error