1 error[E0618]: expected function, found `U`
2 --> $DIR/issue-21701.rs:2:13
9 | call expression requires function
11 error[E0618]: expected function, found `Bar`
12 --> $DIR/issue-21701.rs:9:13
15 | ---------- `Bar` defined here
20 | call expression requires function
22 error: aborting due to 2 previous errors
24 For more information about this error, try `rustc --explain E0618`.