1 error: expected `::`, found `(`
2 --> $DIR/type-ascription-instead-of-path-2.rs:3:63
4 LL | let _ = vec![Ok(2)].into_iter().collect:<Result<Vec<_>,_>>()?;
7 | help: maybe write a path separator here: `::`
9 = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
11 error: aborting due to previous error