summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/issue-82566-1.stderr
blob: 72f0f45fb83802ffb20250c0c63ee291e0c6b6a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error: comparison operators cannot be chained
  --> $DIR/issue-82566-1.rs:18:7
   |
LL |     T1<1>::C;
   |       ^ ^
   |
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
   |
LL |     T1::<1>::C;
   |       ++

error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
  --> $DIR/issue-82566-1.rs:19:9
   |
LL |     T2<1, 2>::C;
   |         ^ expected one of `.`, `;`, `?`, `}`, or an operator
   |
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
   |
LL |     T2::<1, 2>::C;
   |       ++

error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
  --> $DIR/issue-82566-1.rs:20:9
   |
LL |     T3<1, 2, 3>::C;
   |         ^ expected one of `.`, `;`, `?`, `}`, or an operator
   |
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
   |
LL |     T3::<1, 2, 3>::C;
   |       ++

error: aborting due to 3 previous errors