about summary refs log tree commit diff
path: root/tests/ui/proc-macro/issue-66286.rs
blob: 882f87fa4ac224601a6422891b592ba3b4faa89a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ proc-macro: issue-66286.rs

// Regression test for #66286.

extern crate issue_66286;

#[issue_66286::vec_ice]
pub extern "C" fn foo(_: Vec(u32)) -> u32 {
    //~^ ERROR: parenthesized type parameters may only be used with a `Fn` trait
    0
}

fn main() {}