]> git.lizzy.rs Git - rust.git/blob - src/test/ui/chalkify/closure.stderr
bcee0cab96ae7788aa26729790cdb62f55044eeb
[rust.git] / src / test / ui / chalkify / closure.stderr
1 error[E0277]: `()` is not a tuple
2   --> $DIR/closure.rs:7:5
3    |
4 LL |     t();
5    |     ^^^ the trait `Tuple` is not implemented for `()`
6    |
7 help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
8    |
9 LL | fn main() -> () where (): Tuple {
10    |                 +++++++++++++++
11
12 error[E0277]: `()` is not a tuple
13   --> $DIR/closure.rs:13:5
14    |
15 LL |     b();
16    |     ^^^ the trait `Tuple` is not implemented for `()`
17    |
18 help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
19    |
20 LL | fn main() -> () where (): Tuple {
21    |                 +++++++++++++++
22
23 error[E0277]: `()` is not a tuple
24   --> $DIR/closure.rs:17:5
25    |
26 LL |     c();
27    |     ^^^ the trait `Tuple` is not implemented for `()`
28    |
29 help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
30    |
31 LL | fn main() -> () where (): Tuple {
32    |                 +++++++++++++++
33
34 error[E0277]: `()` is not a tuple
35   --> $DIR/closure.rs:18:5
36    |
37 LL |     b();
38    |     ^^^ the trait `Tuple` is not implemented for `()`
39    |
40 help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
41    |
42 LL | fn main() -> () where (): Tuple {
43    |                 +++++++++++++++
44
45 error[E0277]: `()` is not a tuple
46   --> $DIR/closure.rs:24:5
47    |
48 LL |     b();
49    |     ^^^ the trait `Tuple` is not implemented for `()`
50    |
51 help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
52    |
53 LL | fn main() -> () where (): Tuple {
54    |                 +++++++++++++++
55
56 error[E0277]: `()` is not a tuple
57   --> $DIR/closure.rs:28:5
58    |
59 LL |     c();
60    |     ^^^ the trait `Tuple` is not implemented for `()`
61    |
62 help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
63    |
64 LL | fn main() -> () where (): Tuple {
65    |                 +++++++++++++++
66
67 error[E0277]: `()` is not a tuple
68   --> $DIR/closure.rs:29:5
69    |
70 LL |     b(); // FIXME: reenable when this is fixed ~ ERROR
71    |     ^^^ the trait `Tuple` is not implemented for `()`
72    |
73 help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
74    |
75 LL | fn main() -> () where (): Tuple {
76    |                 +++++++++++++++
77
78 error: aborting due to 7 previous errors
79
80 For more information about this error, try `rustc --explain E0277`.