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