fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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