]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/block-result/block-must-not-have-result-res.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / block-result / block-must-not-have-result-res.stderr
index 8a41f8b8e3dff8cc8e28b73aa13f79827ced52e2..aabc7604f90c03de15f10e8cf507eb6000cadb8b 100644 (file)
@@ -5,9 +5,6 @@ LL |     fn drop(&mut self) {
    |                        - expected `()` because of default return type
 LL |         true
    |         ^^^^ expected (), found bool
-   |
-   = note: expected type `()`
-              found type `bool`
 
 error: aborting due to previous error