summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-13407.stderr
blob: 54b6c640d9d79cdf23b997ca26431ac1382f0785 (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
error[E0603]: unit struct `C` is private
  --> $DIR/issue-13407.rs:6:8
   |
LL |     A::C = 1;
   |        ^ private unit struct
   |
note: the unit struct `C` is defined here
  --> $DIR/issue-13407.rs:2:5
   |
LL |     struct C;
   |     ^^^^^^^^^

error[E0070]: invalid left-hand side of assignment
  --> $DIR/issue-13407.rs:6:10
   |
LL |     A::C = 1;
   |     ---- ^
   |     |
   |     cannot assign to this expression

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0070, E0603.
For more information about an error, try `rustc --explain E0070`.