2021-02-27 05:01:32 +00:00
|
|
|
error: comparison operators cannot be chained
|
2021-02-27 10:37:50 +00:00
|
|
|
--> $DIR/issue-82566-1.rs:18:7
|
2021-02-27 05:01:32 +00:00
|
|
|
|
|
|
|
|
LL | T1<1>::C;
|
|
|
|
| ^ ^
|
|
|
|
|
|
2022-01-13 23:44:17 +00:00
|
|
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
2021-02-27 05:01:32 +00:00
|
|
|
|
|
|
|
|
LL | T1::<1>::C;
|
2021-06-22 02:07:19 +00:00
|
|
|
| ++
|
2021-02-27 05:01:32 +00:00
|
|
|
|
|
|
|
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
|
2021-02-27 10:37:50 +00:00
|
|
|
--> $DIR/issue-82566-1.rs:19:9
|
2021-02-27 05:01:32 +00:00
|
|
|
|
|
|
|
|
LL | T2<1, 2>::C;
|
|
|
|
| ^ expected one of `.`, `;`, `?`, `}`, or an operator
|
|
|
|
|
|
2022-01-13 23:44:17 +00:00
|
|
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
2021-02-27 05:01:32 +00:00
|
|
|
|
|
|
|
|
LL | T2::<1, 2>::C;
|
2021-06-22 02:07:19 +00:00
|
|
|
| ++
|
2021-02-27 05:01:32 +00:00
|
|
|
|
|
|
|
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
|
2021-02-27 10:37:50 +00:00
|
|
|
--> $DIR/issue-82566-1.rs:20:9
|
2021-02-27 05:01:32 +00:00
|
|
|
|
|
|
|
|
LL | T3<1, 2, 3>::C;
|
|
|
|
| ^ expected one of `.`, `;`, `?`, `}`, or an operator
|
|
|
|
|
|
2022-01-13 23:44:17 +00:00
|
|
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
2021-02-27 05:01:32 +00:00
|
|
|
|
|
|
|
|
LL | T3::<1, 2, 3>::C;
|
2021-06-22 02:07:19 +00:00
|
|
|
| ++
|
2021-02-27 05:01:32 +00:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|