]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/block-result/issue-11714.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / block-result / issue-11714.stderr
index cfb42c601279a9abdc5304b4a3a2fa8806310ffa..61991643a4a569e790bc3d1685579ccbf697e3d9 100644 (file)
@@ -2,15 +2,12 @@ error[E0308]: mismatched types
   --> $DIR/issue-11714.rs:1:14
    |
 LL | fn blah() -> i32 {
-   |    ----      ^^^ expected i32, found ()
+   |    ----      ^^^ expected `i32`, found `()`
    |    |
    |    implicitly returns `()` as its body has no tail or `return` expression
 ...
 LL |     ;
    |     - help: consider removing this semicolon
-   |
-   = note: expected type `i32`
-              found type `()`
 
 error: aborting due to previous error