blob: e6e07c167f349c5c06a621447c7d3eb8c5c7cff7 [file] [log] [blame]
error[E0214]: parenthesized parameters may only be used with a trait
--> $DIR/issue-23589.rs:2:15
|
LL | let v: Vec(&str) = vec!['1', '2'];
| ^^^^^^ only traits may use parentheses
error: aborting due to previous error
For more information about this error, try `rustc --explain E0214`.