fork/rust

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

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

master
652 B27 linesraw
1error[E0070]: invalid left-hand side of assignment
2  --> $DIR/E0070.rs:6:16
3   |
4LL |     SOME_CONST = 14;
5   |     ---------- ^
6   |     |
7   |     cannot assign to this expression
8
9error[E0070]: invalid left-hand side of assignment
10  --> $DIR/E0070.rs:7:7
11   |
12LL |     1 = 3;
13   |     - ^
14   |     |
15   |     cannot assign to this expression
16
17error[E0070]: invalid left-hand side of assignment
18  --> $DIR/E0070.rs:8:23
19   |
20LL |     some_other_func() = 4;
21   |     ----------------- ^
22   |     |
23   |     cannot assign to this expression
24
25error: aborting due to 3 previous errors
26
27For more information about this error, try `rustc --explain E0070`.