error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:8:8 | LL | foo(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:11:8 | LL | foo(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:14:8 | LL | foo<3 + 3>(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::<3 + 3>(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:17:8 | LL | foo(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:20:8 | LL | foo(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:23:8 | LL | foo<100 - BAR>(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::<100 - BAR>(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:26:8 | LL | foo()>(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::()>(); | ^^ error: expected one of `;` or `}`, found `>` --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:26:19 | LL | foo()>(); | ^ expected one of `;` or `}` error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:30:8 | LL | foo()>(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::()>(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:33:8 | LL | foo() + BAR>(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::() + BAR>(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:36:8 | LL | foo() - BAR>(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::() - BAR>(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:39:8 | LL | foo()>(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::()>(); | ^^ error: comparison operators cannot be chained --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:42:8 | LL | foo()>(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type or const arguments | LL | foo::()>(); | ^^ error: aborting due to 13 previous errors