1 error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements
2 --> $DIR/regions-ret-borrowed-1.rs:20:14
7 note: first, the lifetime cannot outlive the anonymous lifetime #2 defined on the body at 20:10...
8 --> $DIR/regions-ret-borrowed-1.rs:20:10
12 = note: ...so that the expression is assignable:
15 note: but, the lifetime must be valid for the lifetime 'a as defined on the function body at 19:14...
16 --> $DIR/regions-ret-borrowed-1.rs:19:14
18 LL | fn return_it<'a>() -> &'a isize {
20 note: ...so that reference does not outlive borrowed content
21 --> $DIR/regions-ret-borrowed-1.rs:20:5
26 error: aborting due to previous error
28 For more information about this error, try `rustc --explain E0495`.