]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/control-flow/issue-50577.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / consts / control-flow / issue-50577.stderr
index b7b4c3a30d1bf80df11fb746db041b46fb3925f0..39473343bcf44fe413439964a95e8937eaededee 100644 (file)
@@ -2,10 +2,7 @@ error[E0317]: `if` may be missing an `else` clause
   --> $DIR/issue-50577.rs:3:16
    |
 LL |         Drop = assert_eq!(1, 1),
-   |                ^^^^^^^^^^^^^^^^
-   |                |
-   |                expected `()`, found `isize`
-   |                found here
+   |                ^^^^^^^^^^^^^^^^ expected `()`, found `isize`
    |
    = note: `if` expressions without `else` evaluate to `()`
    = help: consider adding an `else` block that evaluates to the expected type