summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-32086.stderr
blob: e566dea89088de50ab994b4e7decc691c293ca34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0532]: expected tuple struct or tuple variant, found constant `C`
  --> $DIR/issue-32086.rs:5:9
   |
LL | struct S(u8);
   | ------------- similarly named tuple struct `S` defined here
...
LL |     let C(a) = S(11);
   |         ^ help: a tuple struct with a similar name exists: `S`

error[E0532]: expected tuple struct or tuple variant, found constant `C`
  --> $DIR/issue-32086.rs:6:9
   |
LL | struct S(u8);
   | ------------- similarly named tuple struct `S` defined here
...
LL |     let C(..) = S(11);
   |         ^ help: a tuple struct with a similar name exists: `S`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0532`.