1 error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements
2 --> $DIR/regions-escape-method.rs:15:13
7 note: first, the lifetime cannot outlive the anonymous lifetime #2 defined on the body at 15:9...
8 --> $DIR/regions-escape-method.rs:15:9
12 note: ...so that the expression is assignable
13 --> $DIR/regions-escape-method.rs:15:13
17 = note: expected `&i32`
19 note: but, the lifetime must be valid for the method call at 15:5...
20 --> $DIR/regions-escape-method.rs:15:5
24 note: ...so that a type/lifetime parameter is in scope here
25 --> $DIR/regions-escape-method.rs:15:5
30 error: aborting due to previous error
32 For more information about this error, try `rustc --explain E0495`.