@@ -12,60 +12,24 @@ error: expected `M::S` but found `M::R`
12
12
9 │ (S { g }, R { f }) = (R{ f: 0 }, R{ f: 1 });
13
13
│ ^^^^^^^
14
14
15
- error: unable to infer type: `?1`
16
- ┌─ tests/checking/typing/assign_wrong_type.move:14:13
17
- │
18
- 14 │ let b;
19
- │ ^
20
-
21
- error: unable to infer type: `?2`
22
- ┌─ tests/checking/typing/assign_wrong_type.move:15:13
23
- │
24
- 15 │ let f;
25
- │ ^
26
-
27
15
error: expected `()` but found `integer` (from assignment or declaration context)
28
16
┌─ tests/checking/typing/assign_wrong_type.move:17:9
29
17
│
30
18
17 │ () = 0;
31
19
│ ^^
32
20
33
- error: unable to infer type: `?6`
34
- ┌─ tests/checking/typing/assign_wrong_type.move:17:14
35
- │
36
- 17 │ () = 0;
37
- │ ^
38
-
39
21
error: expected 4 item(s), found 3
40
22
┌─ tests/checking/typing/assign_wrong_type.move:18:9
41
23
│
42
24
18 │ (x, b, R{f}) = (0, false, R{f: 0}, R{f: 0});
43
25
│ ^^^^^^^^^^^^
44
26
45
- error: unable to infer type: `?15`
46
- ┌─ tests/checking/typing/assign_wrong_type.move:18:9
47
- │
48
- 18 │ (x, b, R{f}) = (0, false, R{f: 0}, R{f: 0});
49
- │ ^^^^^^^^^^^^
50
-
51
27
error: expected 2 item(s), found 3
52
28
┌─ tests/checking/typing/assign_wrong_type.move:19:9
53
29
│
54
30
19 │ (x, b, R{f}) = (0, false);
55
31
│ ^^^^^^^^^^^^
56
32
57
- error: unable to infer type: `?21`
58
- ┌─ tests/checking/typing/assign_wrong_type.move:19:9
59
- │
60
- 19 │ (x, b, R{f}) = (0, false);
61
- │ ^^^^^^^^^^^^
62
-
63
- error: unable to infer type: `?1`
64
- ┌─ tests/checking/typing/assign_wrong_type.move:24:17
65
- │
66
- 24 │ let b = 0;
67
- │ ^
68
-
69
33
error: expected `bool` but found `integer` (from assignment or declaration context)
70
34
┌─ tests/checking/typing/assign_wrong_type.move:27:10
71
35
│
@@ -89,9 +53,3 @@ error: expected `M::S` but found `M::R` (from assignment or declaration context)
89
53
│
90
54
27 │ (x, b, R{f}, r) = (0, false, R{f: 0}, R{f: 0});
91
55
│ ^
92
-
93
- error: unable to infer type: `?7`
94
- ┌─ tests/checking/typing/assign_wrong_type.move:27:28
95
- │
96
- 27 │ (x, b, R{f}, r) = (0, false, R{f: 0}, R{f: 0});
97
- │ ^
0 commit comments