]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-44023.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / issues / issue-44023.stderr
index 153be363c1deab85d4a88e76b66f3503baa8fccd..a55bb22986963622d0d18691a096ebd333ae8afc 100644 (file)
@@ -4,10 +4,7 @@ error[E0308]: mismatched types
 LL | fn საჭმელად_გემრიელი_სადილი ( ) -> isize {
    |    ------------------------        ^^^^^ expected isize, found ()
    |    |
-   |    this function's body doesn't return
-   |
-   = note: expected type `isize`
-              found type `()`
+   |    implicitly returns `()` as its body has no tail or `return` expression
 
 error: aborting due to previous error