2018-02-07 21:35:35 -06:00
|
|
|
error[E0070]: invalid left-hand side expression
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0070.rs:6:5
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | SOME_CONST = 14; //~ ERROR E0070
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^^^^^^^^^^^^^ left-hand of expression not valid
|
|
|
|
|
|
|
|
error[E0070]: invalid left-hand side expression
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0070.rs:7:5
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | 1 = 3; //~ ERROR E0070
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^^^ left-hand of expression not valid
|
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0070.rs:8:25
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | some_other_func() = 4; //~ ERROR E0070
|
2018-12-31 19:43:08 -06:00
|
|
|
| ^ expected (), found integer
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
|
|
|
= note: expected type `()`
|
|
|
|
found type `{integer}`
|
|
|
|
|
|
|
|
error[E0070]: invalid left-hand side expression
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0070.rs:8:5
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | some_other_func() = 4; //~ ERROR E0070
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ left-hand of expression not valid
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
Some errors occurred: E0070, E0308.
|
|
|
|
For more information about an error, try `rustc --explain E0070`.
|