1 error[E0618]: expected function, found enum variant `X::Entry`
5 | ----- `X::Entry` defined here
8 | ^^^^^^^^^^ not a function
9 help: `X::Entry` is a unit variant, you need to write it without the parenthesis
14 error[E0618]: expected function, found `i32`
15 --> $DIR/E0618.rs:19:5
18 | - `i32` defined here
22 error: aborting due to 2 previous errors