]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/control-flow/issue-50577.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / consts / control-flow / issue-50577.stderr
CommitLineData
dfeec247 1error[E0317]: `if` may be missing an `else` clause
f035d41b 2 --> $DIR/issue-50577.rs:3:16
8faf50e0 3 |
f035d41b 4LL | Drop = assert_eq!(1, 1),
6a06907d 5 | ^^^^^^^^^^^^^^^^ expected `()`, found `isize`
8faf50e0 6 |
532ac7d7
XL
7 = note: `if` expressions without `else` evaluate to `()`
8 = help: consider adding an `else` block that evaluates to the expected type
17df50a5 9 = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
8faf50e0 10
e1599b0c 11error: aborting due to previous error
8faf50e0 12
e1599b0c 13For more information about this error, try `rustc --explain E0317`.