1 error[E0603]: unit struct `C` is private
2 --> $DIR/issue-13407.rs:6:8
5 | ^ private unit struct
7 note: the unit struct `C` is defined here
8 --> $DIR/issue-13407.rs:2:5
13 error[E0070]: invalid left-hand side of assignment
14 --> $DIR/issue-13407.rs:6:10
19 | cannot assign to this expression
21 error: aborting due to 2 previous errors
23 Some errors have detailed explanations: E0070, E0603.
24 For more information about an error, try `rustc --explain E0070`.