fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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