blob: ce13e0f160815dd0777b25285c58ad98ebfa066d [file] [log] [blame]
//! regression test for <https://github.com/rust-lang/rust/issues/50600>
struct Foo(
fn([u8; |x: u8| {}]), //~ ERROR mismatched types
);
fn main() {}