fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
867 B31 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   |
19   = note: expected type `()`
20              found type `{integer}`
21
22error[E0070]: invalid left-hand side expression
23  --> $DIR/E0070.rs:8:5
24   |
25LL |     some_other_func() = 4;
26   |     ^^^^^^^^^^^^^^^^^^^^^ left-hand of expression not valid
27
28error: aborting due to 4 previous errors
29
30Some errors have detailed explanations: E0070, E0308.
31For more information about an error, try `rustc --explain E0070`.