error: comparison operators cannot be chained --> $DIR/issue-40396.rs:2:20 | LL | (0..13).collect>(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type arguments | LL | (0..13).collect::>(); | ^^ error: comparison operators cannot be chained --> $DIR/issue-40396.rs:4:8 | LL | Vec::new(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type arguments | LL | Vec::::new(); | ^^ error: comparison operators cannot be chained --> $DIR/issue-40396.rs:6:20 | LL | (0..13).collect(); | ^ ^ | help: use `::<...>` instead of `<...>` to specify type arguments | LL | (0..13).collect::(); | ^^ error: aborting due to 3 previous errors