]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/issue-62881.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / parser / issue-62881.stderr
index 2905cc7370db24bbd038dd166aefdfa0548695b4..ddb97b40e95902fdd64a7144e2b345389ed6ad55 100644 (file)
@@ -20,9 +20,6 @@ LL | fn f() -> isize { fn f() -> isize {} pub f<
    |                      -      ^^^^^ expected isize, found ()
    |                      |
    |                      implicitly returns `()` as its body has no tail or `return` expression
-   |
-   = note:   expected type `isize`
-           found unit type `()`
 
 error: aborting due to 3 previous errors