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 help: consider introducing a named lifetime parameter
11 LL | eq::< dyn for<'a> Foo<(&'a isize,), Output=&'a isize>,
12 LL | dyn Foo(&isize) -> &isize >();
13 LL | eq::< dyn for<'a> Foo<(&'a isize,), Output=(&'a isize, &'a isize)>,
14 LL | dyn Foo(&isize) -> (&isize, &isize) >();
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0106`.