fork/rust

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

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

master
466 B16 linesraw
1error[E0070]: invalid left-hand side of assignment
2  --> $DIR/issue-77218.rs:4:19
3   |
4LL |     while Some(0) = value.get(0) {}
5   |                -  ^
6   |                |
7   |                cannot assign to this expression
8   |
9help: you might have meant to use pattern destructuring
10   |
11LL |     while let Some(0) = value.get(0) {}
12   |           +++
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0070`.