]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0214.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / error-codes / E0214.stderr
1 error[E0214]: parenthesized parameters may only be used with a trait
2   --> $DIR/E0214.rs:2:15
3    |
4 LL |     let v: Vec(&str) = vec!["foo"];
5    |               ^^^^^^ only traits may use parentheses
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0214`.