2018-02-08 03:35:35 +00:00
|
|
|
error[E0214]: parenthesized parameters may only be used with a trait
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/E0214.rs:2:15
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let v: Vec(&str) = vec!["foo"];
|
2019-01-20 03:25:28 +00:00
|
|
|
| ^^^^^^
|
|
|
|
| |
|
|
|
|
| only traits may use parentheses
|
|
|
|
| help: use angle brackets instead: `<&str>`
|
2018-02-08 03:35:35 +00:00
|
|
|
|
2019-01-20 02:44:20 +00:00
|
|
|
error: aborting due to previous error
|
2018-02-08 03:35:35 +00:00
|
|
|
|
2019-01-20 02:44:20 +00:00
|
|
|
For more information about this error, try `rustc --explain E0214`.
|