rust/src/test/ui/error-codes/E0214.stderr

10 lines
317 B
Plaintext
Raw Normal View History

2018-02-08 03:35:35 +00:00
error[E0214]: parenthesized parameters may only be used with a trait
--> $DIR/E0214.rs:12:15
|
12 | let v: Vec(&str) = vec!["foo"];
| ^^^^^^ only traits may use parentheses
error: aborting due to previous error
2018-02-19 20:40:25 +00:00
If you want more information on this error, try using "rustc --explain E0214"