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