1 error[E0618]: expected function, found enum variant `X::Entry`
5 | ----- enum variant `X::Entry` defined here
10 | call expression requires function
12 help: `X::Entry` is a unit enum variant, and does not take parentheses to be constructed
18 error[E0618]: expected function, found `i32`
22 | - `x` has type `i32`
26 | call expression requires function
28 error: aborting due to 2 previous errors
30 For more information about this error, try `rustc --explain E0618`.