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