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

6 lines
80 B
Rust

enum Functions {
Square = |x| x, //~ ERROR mismatched types
}
fn main() {}