]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/block-result/unexpected-return-on-unit.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / block-result / unexpected-return-on-unit.stderr
index 3ceff81ec4d63a6ead74d87591dfa0f439de07a5..170d11373ddd0d06ad2bbafd61632d43e48a9920 100644 (file)
@@ -4,8 +4,6 @@ error[E0308]: mismatched types
 LL |     foo()
    |     ^^^^^ expected (), found usize
    |
-   = note: expected type `()`
-              found type `usize`
 help: try adding a semicolon
    |
 LL |     foo();