1 error[E0106]: missing lifetime specifier
2 --> $DIR/bound-lifetime-in-binding-only.rs:52:23
4 LL | fn elision<T: Fn() -> &i32>() {
5 | ^ expected named lifetime parameter
7 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
8 = note: for more information on higher-ranked polymorphism, visit https://doc.rust-lang.org/nomicon/hrtb.html
9 help: consider making the bound lifetime-generic with a new `'a` lifetime
11 LL | fn elision<T: for<'a> Fn() -> &'a i32>() {
13 help: consider using the `'static` lifetime
15 LL | fn elision<T: Fn() -> &'static i32>() {
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0106`.