2018-07-15 16:11:54 -05:00
|
|
|
error[E0603]: unit struct `C` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-13407.rs:6:8
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
LL | A::C = 1;
|
2018-10-27 12:21:34 -05:00
|
|
|
| ^
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-13407.rs:6:12
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
LL | A::C = 1;
|
2018-12-31 19:43:08 -06:00
|
|
|
| ^ expected struct `A::C`, found integer
|
2018-07-15 16:11:54 -05:00
|
|
|
|
2019-12-22 12:42:15 -06:00
|
|
|
error[E0070]: invalid left-hand side of assignment
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-13407.rs:6:5
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
LL | A::C = 1;
|
2019-12-22 12:42:15 -06:00
|
|
|
| ----^^^^
|
|
|
|
| |
|
|
|
|
| cannot assign to this expression
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
Some errors have detailed explanations: E0070, E0308, E0603.
|
2018-07-15 16:11:54 -05:00
|
|
|
For more information about an error, try `rustc --explain E0070`.
|