1 error[E0214]: parenthesized parameters may only be used with a trait
2 --> $DIR/issue-23589.rs:2:15
4 LL | let v: Vec(&str) = vec!['1', '2'];
7 | only traits may use parentheses
8 | help: use angle brackets instead: `<&str>`
10 error[E0308]: mismatched types
11 --> $DIR/issue-23589.rs:2:29
13 LL | let v: Vec(&str) = vec!['1', '2'];
14 | ^^^ expected &str, found char
16 = note: expected type `&str`
19 error: aborting due to 2 previous errors
21 Some errors occurred: E0214, E0308.
22 For more information about an error, try `rustc --explain E0214`.