]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-13407.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-13407.stderr
1 error[E0603]: unit struct `C` is private
2   --> $DIR/issue-13407.rs:6:8
3    |
4 LL |     A::C = 1;
5    |        ^
6
7 error[E0308]: mismatched types
8   --> $DIR/issue-13407.rs:6:12
9    |
10 LL |     A::C = 1;
11    |            ^ expected struct `A::C`, found integer
12    |
13    = note: expected type `A::C`
14               found type `{integer}`
15
16 error[E0070]: invalid left-hand side expression
17   --> $DIR/issue-13407.rs:6:5
18    |
19 LL |     A::C = 1;
20    |     ^^^^^^^^ left-hand of expression not valid
21
22 error: aborting due to 3 previous errors
23
24 Some errors have detailed explanations: E0070, E0308, E0603.
25 For more information about an error, try `rustc --explain E0070`.