]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-13407.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-13407.stderr
1 error[E0603]: unit struct `C` is private
2   --> $DIR/issue-13407.rs:16:5
3    |
4 LL |     A::C = 1;
5    |     ^^^^
6
7 error[E0308]: mismatched types
8   --> $DIR/issue-13407.rs:16:12
9    |
10 LL |     A::C = 1;
11    |            ^ expected struct `A::C`, found integral variable
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:16: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 occurred: E0070, E0308, E0603.
25 For more information about an error, try `rustc --explain E0070`.