]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0214.stderr
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / src / test / ui / error-codes / E0214.stderr
1 error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
2   --> $DIR/E0214.rs:2:12
3    |
4 LL |     let v: Vec(&str) = vec!["foo"];
5    |            ^^^^^^^^^
6    |            |
7    |            only `Fn` traits may use parentheses
8    |            help: use angle brackets instead: `Vec<&str>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0214`.