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