fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
797 B28 linesraw
1error[E0070]: invalid left-hand side expression
2  --> $DIR/E0070.rs:6:5
3   |
4LL |     SOME_CONST = 14;
5   |     ^^^^^^^^^^^^^^^ left-hand of expression not valid
6
7error[E0070]: invalid left-hand side expression
8  --> $DIR/E0070.rs:7:5
9   |
10LL |     1 = 3;
11   |     ^^^^^ left-hand of expression not valid
12
13error[E0308]: mismatched types
14  --> $DIR/E0070.rs:8:25
15   |
16LL |     some_other_func() = 4;
17   |                         ^ expected `()`, found integer
18
19error[E0070]: invalid left-hand side expression
20  --> $DIR/E0070.rs:8:5
21   |
22LL |     some_other_func() = 4;
23   |     ^^^^^^^^^^^^^^^^^^^^^ left-hand of expression not valid
24
25error: aborting due to 4 previous errors
26
27Some errors have detailed explanations: E0070, E0308.
28For more information about an error, try `rustc --explain E0070`.