fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: comparison operators cannot be chained 2 --> $DIR/require-parens-for-chained-comparison.rs:5:11 3 | 4LL | false == false == false; 5 | ^^ ^^ 6 | 7help: split the comparison into two 8 | 9LL | false == false && false == false; 10 | ^^^^^^^^ 11 12error: comparison operators cannot be chained 13 --> $DIR/require-parens-for-chained-comparison.rs:9:11 14 | 15LL | false == 0 < 2; 16 | ^^ ^ 17 | 18help: parenthesize the comparison 19 | 20LL | false == (0 < 2); 21 | ^ ^ 22 23error: comparison operators cannot be chained 24 --> $DIR/require-parens-for-chained-comparison.rs:13:6 25 | 26LL | f<X>(); 27 | ^ ^ 28 | 29help: use `::<...>` instead of `<...>` to specify type arguments 30 | 31LL | f::<X>(); 32 | ^^ 33 34error: comparison operators cannot be chained 35 --> $DIR/require-parens-for-chained-comparison.rs:17:6 36 | 37LL | f<Result<Option<X>, Option<Option<X>>>(1, 2); 38 | ^ ^ 39 | 40help: use `::<...>` instead of `<...>` to specify type arguments 41 | 42LL | f::<Result<Option<X>, Option<Option<X>>>(1, 2); 43 | ^^ 44 45error: comparison operators cannot be chained 46 --> $DIR/require-parens-for-chained-comparison.rs:22:21 47 | 48LL | let _ = identity<u8>; 49 | ^ ^ 50 | 51 = help: use `::<...>` instead of `<...>` to specify type arguments 52 = help: or use `(...)` if you meant to specify fn arguments 53 54error: aborting due to 5 previous errors 55