fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: chained comparison operators require parentheses 2 --> $DIR/require-parens-for-chained-comparison.rs:5:11 3 | 4LL | false == false == false; 5 | ^^^^^^^^^^^^^^^^^ 6 7error: chained comparison operators require parentheses 8 --> $DIR/require-parens-for-chained-comparison.rs:8:11 9 | 10LL | false == 0 < 2; 11 | ^^^^^^^^ 12 13error: chained comparison operators require parentheses 14 --> $DIR/require-parens-for-chained-comparison.rs:13:6 15 | 16LL | f<X>(); 17 | ^^^^ 18 | 19 = help: use `::<...>` instead of `<...>` if you meant to specify type arguments 20 = help: or use `(...)` if you meant to specify fn arguments 21 22error[E0308]: mismatched types 23 --> $DIR/require-parens-for-chained-comparison.rs:8:14 24 | 25LL | false == 0 < 2; 26 | ^ expected bool, found integer 27 | 28 = note: expected type `bool` 29 found type `{integer}` 30 31error[E0308]: mismatched types 32 --> $DIR/require-parens-for-chained-comparison.rs:8:18 33 | 34LL | false == 0 < 2; 35 | ^ expected bool, found integer 36 | 37 = note: expected type `bool` 38 found type `{integer}` 39 40error: aborting due to 5 previous errors 41 42For more information about this error, try `rustc --explain E0308`.