]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-13407.stderr
Remove E0308 note when primary label has all info
[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 error[E0070]: invalid left-hand side expression
14   --> $DIR/issue-13407.rs:6:5
15    |
16 LL |     A::C = 1;
17    |     ^^^^^^^^ left-hand of expression not valid
18
19 error: aborting due to 3 previous errors
20
21 Some errors have detailed explanations: E0070, E0308, E0603.
22 For more information about an error, try `rustc --explain E0070`.