1 error[E0618]: expected function, found enum variant `X::Entry`
5 | ----- `X::Entry` defined here
10 | call expression requires function
11 help: `X::Entry` is a unit variant, you need to write it without the parenthesis
16 error[E0618]: expected function, found `i32`
20 | - `i32` defined here
24 | call expression requires function
26 error: aborting due to 2 previous errors
28 For more information about this error, try `rustc --explain E0618`.