]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0317]: `if` may be missing an `else` clause |
60c5eb7d | 2 | --> $DIR/issue-50577.rs:7:16 |
8faf50e0 XL |
3 | | |
4 | LL | Drop = assert_eq!(1, 1) | |
532ac7d7 XL |
5 | | ^^^^^^^^^^^^^^^^ |
6 | | | | |
60c5eb7d | 7 | | expected `()`, found `isize` |
532ac7d7 | 8 | | found here |
8faf50e0 | 9 | | |
532ac7d7 XL |
10 | = note: `if` expressions without `else` evaluate to `()` |
11 | = help: consider adding an `else` block that evaluates to the expected type | |
74b04a01 | 12 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) |
8faf50e0 | 13 | |
e1599b0c | 14 | error: aborting due to previous error |
8faf50e0 | 15 | |
e1599b0c | 16 | For more information about this error, try `rustc --explain E0317`. |