mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
14 lines
255 B
Rust
14 lines
255 B
Rust
// 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() {}
|