summary refs log tree commit diff
path: root/src/test/ui/issues/issue-23589.rs
blob: a59710a1a3cdeb3db06ba7a3354280e413b7c208 (plain)
1
2
3
4
fn main() {
    let v: Vec(&str) = vec!['1', '2'];
    //~^ ERROR parenthesized parameters may only be used with a trait
}