]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | error: comparison operators cannot be chained |
2 | --> $DIR/issue-82566-1.rs:18:7 | |
3 | | | |
4 | LL | T1<1>::C; | |
5 | | ^ ^ | |
6 | | | |
7 | help: use `::<...>` instead of `<...>` to specify type or const arguments | |
8 | | | |
9 | LL | T1::<1>::C; | |
10 | | ^^ | |
11 | ||
12 | error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` | |
13 | --> $DIR/issue-82566-1.rs:19:9 | |
14 | | | |
15 | LL | T2<1, 2>::C; | |
16 | | ^ expected one of `.`, `;`, `?`, `}`, or an operator | |
17 | | | |
18 | help: use `::<...>` instead of `<...>` to specify type or const arguments | |
19 | | | |
20 | LL | T2::<1, 2>::C; | |
21 | | ^^ | |
22 | ||
23 | error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` | |
24 | --> $DIR/issue-82566-1.rs:20:9 | |
25 | | | |
26 | LL | T3<1, 2, 3>::C; | |
27 | | ^ expected one of `.`, `;`, `?`, `}`, or an operator | |
28 | | | |
29 | help: use `::<...>` instead of `<...>` to specify type or const arguments | |
30 | | | |
31 | LL | T3::<1, 2, 3>::C; | |
32 | | ^^ | |
33 | ||
34 | error: aborting due to 3 previous errors | |
35 |