1
1
error[E0277]: `()` is not a tuple
2
- --> $DIR/closure.rs:6 :5
2
+ --> $DIR/closure.rs:7 :5
3
3
|
4
4
LL | t();
5
5
| ^^^ the trait `Tuple` is not implemented for `()`
@@ -10,7 +10,7 @@ LL | fn main() -> () where (): Tuple {
10
10
| +++++++++++++++
11
11
12
12
error[E0277]: `()` is not a tuple
13
- --> $DIR/closure.rs:12 :5
13
+ --> $DIR/closure.rs:13 :5
14
14
|
15
15
LL | b();
16
16
| ^^^ the trait `Tuple` is not implemented for `()`
@@ -21,7 +21,7 @@ LL | fn main() -> () where (): Tuple {
21
21
| +++++++++++++++
22
22
23
23
error[E0277]: `()` is not a tuple
24
- --> $DIR/closure.rs:16 :5
24
+ --> $DIR/closure.rs:17 :5
25
25
|
26
26
LL | c();
27
27
| ^^^ the trait `Tuple` is not implemented for `()`
@@ -32,7 +32,7 @@ LL | fn main() -> () where (): Tuple {
32
32
| +++++++++++++++
33
33
34
34
error[E0277]: `()` is not a tuple
35
- --> $DIR/closure.rs:17 :5
35
+ --> $DIR/closure.rs:18 :5
36
36
|
37
37
LL | b();
38
38
| ^^^ the trait `Tuple` is not implemented for `()`
@@ -43,7 +43,7 @@ LL | fn main() -> () where (): Tuple {
43
43
| +++++++++++++++
44
44
45
45
error[E0277]: `()` is not a tuple
46
- --> $DIR/closure.rs:23 :5
46
+ --> $DIR/closure.rs:24 :5
47
47
|
48
48
LL | b();
49
49
| ^^^ the trait `Tuple` is not implemented for `()`
@@ -54,7 +54,7 @@ LL | fn main() -> () where (): Tuple {
54
54
| +++++++++++++++
55
55
56
56
error[E0277]: `()` is not a tuple
57
- --> $DIR/closure.rs:27 :5
57
+ --> $DIR/closure.rs:28 :5
58
58
|
59
59
LL | c();
60
60
| ^^^ the trait `Tuple` is not implemented for `()`
@@ -65,10 +65,10 @@ LL | fn main() -> () where (): Tuple {
65
65
| +++++++++++++++
66
66
67
67
error[E0277]: `()` is not a tuple
68
- --> $DIR/closure.rs:28 :5
68
+ --> $DIR/closure.rs:29 :5
69
69
|
70
- LL | b();
71
- | ^^^ `() ` is not a tuple
70
+ LL | b(); // FIXME: reenable when this is fixed ~ ERROR
71
+ | ^^^ the trait `Tuple ` is not implemented for `()`
72
72
|
73
73
help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
74
74
|
0 commit comments