1 error: comparison operators cannot be chained
2 --> $DIR/require-parens-for-chained-comparison.rs:5:11
4 LL | false == false == false;
7 help: split the comparison into two
9 LL | false == false && false == false;
12 error: comparison operators cannot be chained
13 --> $DIR/require-parens-for-chained-comparison.rs:9:11
18 help: parenthesize the comparison
20 LL | false == (0 < 2);
23 error: comparison operators cannot be chained
24 --> $DIR/require-parens-for-chained-comparison.rs:13:6
29 help: use `::<...>` instead of `<...>` to specify type or const arguments
34 error: comparison operators cannot be chained
35 --> $DIR/require-parens-for-chained-comparison.rs:17:6
37 LL | f<Result<Option<X>, Option<Option<X>>>(1, 2);
40 help: use `::<...>` instead of `<...>` to specify type or const arguments
42 LL | f::<Result<Option<X>, Option<Option<X>>>(1, 2);
45 error: comparison operators cannot be chained
46 --> $DIR/require-parens-for-chained-comparison.rs:22:21
48 LL | let _ = identity<u8>;
51 = help: use `::<...>` instead of `<...>` to specify type or const arguments
52 = help: or use `(...)` if you meant to specify fn arguments
54 error: aborting due to 5 previous errors