summaryrefslogtreecommitdiff
path: root/src/test/ui/issues/issue-13407.stderr
blob: 1f4c7dfb0da0244a7ca39f611449357968805991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
error[E0603]: unit struct `C` is private
  --> $DIR/issue-13407.rs:6:8
   |
LL |     A::C = 1;
   |        ^

error[E0308]: mismatched types
  --> $DIR/issue-13407.rs:6:12
   |
LL |     A::C = 1;
   |            ^ expected struct `A::C`, found integer
   |
   = note: expected type `A::C`
              found type `{integer}`

error[E0070]: invalid left-hand side expression
  --> $DIR/issue-13407.rs:6:5
   |
LL |     A::C = 1;
   |     ^^^^^^^^ left-hand of expression not valid

error: aborting due to 3 previous errors

Some errors occurred: E0070, E0308, E0603.
For more information about an error, try `rustc --explain E0070`.