1 error[E0599]: the function or associated item `make_g` exists for fn pointer `for<'r> fn(&'r ())`, but its trait bounds were not satisfied
2 --> $DIR/issue-57362-2.rs:22:25
4 LL | let x = <fn (&())>::make_g();
5 | ^^^^^^ function or associated item cannot be called on `for<'r> fn(&'r ())` due to unsatisfied trait bounds
7 = note: the following trait bounds were not satisfied:
8 `for<'r> fn(&'r ()): X`
9 = help: items from traits can only be used if the trait is implemented and in scope
10 note: `X` defines an item `make_g`, perhaps you need to implement it
11 --> $DIR/issue-57362-2.rs:8:1
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0599`.