1 error[E0603]: unit struct `C` is private
2 --> $DIR/issue-13407.rs:16:5
7 error[E0308]: mismatched types
8 --> $DIR/issue-13407.rs:16:12
11 | ^ expected struct `A::C`, found integral variable
13 = note: expected type `A::C`
14 found type `{integer}`
16 error[E0070]: invalid left-hand side expression
17 --> $DIR/issue-13407.rs:16:5
20 | ^^^^^^^^ left-hand of expression not valid
22 error: aborting due to 3 previous errors
24 Some errors occurred: E0070, E0308, E0603.
25 For more information about an error, try `rustc --explain E0070`.