]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0317]: `if` may be missing an `else` clause |
f035d41b | 2 | --> $DIR/issue-50577.rs:3:16 |
8faf50e0 | 3 | | |
f035d41b | 4 | LL | 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 | 11 | error: aborting due to previous error |
8faf50e0 | 12 | |
e1599b0c | 13 | For more information about this error, try `rustc --explain E0317`. |