2018-07-15 16:11:54 -05:00
|
|
|
error[E0214]: parenthesized parameters may only be used with a trait
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-23589.rs:2:15
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
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`.
|