]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/liveness/liveness-missing-ret2.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / liveness / liveness-missing-ret2.stderr
index 1f60560b45043928ddbd4cff2323fc71d2edcbeb..499dbf10ede28ee7bf8b67e3c8fe97a6f070c10f 100644 (file)
@@ -5,9 +5,6 @@ LL | fn f() -> isize {
    |    -      ^^^^^ expected isize, found ()
    |    |
    |    implicitly returns `()` as its body has no tail or `return` expression
-   |
-   = note: expected type `isize`
-              found type `()`
 
 error: aborting due to previous error