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

4 lines
57 B
Rust

fn main() {
[1; || {}]; //~ ERROR mismatched types
}