2015-06-18 15:18:15 -05:00
|
|
|
fn main() {
|
|
|
|
let v: Vec(&str) = vec!['1', '2'];
|
2019-01-20 04:45:38 -06:00
|
|
|
//~^ ERROR parenthesized type parameters may only be used with a `Fn` trait
|
2019-01-19 20:44:20 -06:00
|
|
|
//~| ERROR mismatched types
|
2015-06-18 15:18:15 -05:00
|
|
|
}
|