1 A generic type was described using parentheses rather than angle brackets.
3 Erroneous code example:
6 let v: Vec(&str) = vec!["foo"];
9 This is not currently supported: `v` should be defined as `Vec<&str>`.
10 Parentheses are currently only used with generic types when defining parameters
11 for `Fn`-family traits.
13 The previous code example fixed:
16 let v: Vec<&str> = vec!["foo"];