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