blob: 2a67aeab44e340e053ec069a39116d10d78636b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// aux-build:issue-66286.rs
// Regression test for #66286.
extern crate issue_66286;
#[issue_66286::vec_ice]
pub extern fn foo(_: Vec(u32)) -> u32 {
//~^ ERROR: parenthesized type parameters may only be used with a `Fn` trait
0
}
fn main() {}
|