1 error[E0618]: expected function, found enum variant `Alias::Unit`
2 --> $DIR/issue-99240-2.rs:7:5
5 | ---- enum variant `Alias::Unit` defined here
9 | ||________^_- call expression requires function
13 help: `Alias::Unit` is a unit enum variant, and does not take parentheses to be constructed
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0618`.