1 error[E0618]: expected function, found `&str`
2 --> $DIR/issue-22468.rs:3:13
5 | --- `foo` has type `&str`
6 LL | let x = foo("baz");
9 | call expression requires function
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0618`.