rust/tests/ui/proc-macro/issue-66286.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
256 B
Rust
Raw Normal View History

2020-12-04 23:02:56 +00:00
//@ 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() {}