1 error[E0106]: missing lifetime specifier
2 --> $DIR/unboxed-closure-sugar-lifetime-elision.rs:26:39
4 LL | let _: dyn Foo(&isize, &usize) -> &usize;
5 | ------ ------ ^ expected named lifetime parameter
7 = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from argument 1 or argument 2
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 | let _: dyn for<'a> Foo(&'a isize, &'a usize) -> &'a usize;
13 help: consider introducing a named lifetime parameter
16 LL | eq::< dyn for<'a> Foo<(&'a isize,), Output=&'a isize>,
19 LL ~ let _: dyn Foo(&'a isize, &'a usize) -> &'a usize;
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0106`.