rust/tests/ui/issues/issue-48838.rs
2023-01-11 09:32:08 +00:00

6 lines
80 B
Rust

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