]> git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/issue-82566-2.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / suggestions / issue-82566-2.stderr
1 error: comparison operators cannot be chained
2 --> $DIR/issue-82566-2.rs:17:23
3 |
4 LL | fn foo1() -> [(); Foo1<10>::SUM] {
5 | ^ ^
6 |
7 help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
8 |
9 LL | fn foo1() -> [(); Foo1::<10>::SUM] {
10 | ++
11
12 error: expected one of `.`, `?`, `]`, or an operator, found `,`
13 --> $DIR/issue-82566-2.rs:21:26
14 |
15 LL | fn foo2() -> [(); Foo2<10, 20>::SUM] {
16 | ^ expected one of `.`, `?`, `]`, or an operator
17 |
18 help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
19 |
20 LL | fn foo2() -> [(); Foo2::<10, 20>::SUM] {
21 | ++
22
23 error: expected one of `.`, `?`, `]`, or an operator, found `,`
24 --> $DIR/issue-82566-2.rs:26:26
25 |
26 LL | fn foo3() -> [(); Foo3<10, 20, 30>::SUM] {
27 | ^ expected one of `.`, `?`, `]`, or an operator
28 |
29 help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
30 |
31 LL | fn foo3() -> [(); Foo3::<10, 20, 30>::SUM] {
32 | ++
33
34 error: aborting due to 3 previous errors
35