fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error: chained comparison operators require parentheses 2 --> $DIR/issue-40396.rs:2:20 3 | 4LL | (0..13).collect<Vec<i32>>(); 5 | ^^^^^ 6 | 7help: use `::<...>` instead of `<...>` to specify type arguments 8 | 9LL | (0..13).collect::<Vec<i32>>(); 10 | ^^ 11 12error: chained comparison operators require parentheses 13 --> $DIR/issue-40396.rs:4:8 14 | 15LL | Vec<i32>::new(); 16 | ^^^^^ 17 | 18help: use `::<...>` instead of `<...>` to specify type arguments 19 | 20LL | Vec::<i32>::new(); 21 | ^^ 22 23error: chained comparison operators require parentheses 24 --> $DIR/issue-40396.rs:6:20 25 | 26LL | (0..13).collect<Vec<i32>(); 27 | ^^^^^ 28 | 29help: use `::<...>` instead of `<...>` to specify type arguments 30 | 31LL | (0..13).collect::<Vec<i32>(); 32 | ^^ 33 34error: aborting due to 3 previous errors 35