1 error[E0618]: expected function, found enum variant `X::Entry`
5 | ----- `X::Entry` defined here
10 | call expression requires function
12 help: `X::Entry` is a unit variant, you need to write it without the parenthesis
17 error[E0618]: expected function, found `i32`
21 | - `x` has type `i32`
25 | call expression requires function
27 error: aborting due to 2 previous errors
29 For more information about this error, try `rustc --explain E0618`.