rust/tests/ui/issues/issue-50714.rs

4 lines
128 B
Rust

// Regression test for issue 50714, make sure that this isn't a linker error.
fn main() where fn(&()): Eq {} //~ ERROR [E0646]