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