1 warning: not reporting region error due to nll
2 --> $DIR/issue-17758.rs:17:9
7 warning: not reporting region error due to nll
8 --> $DIR/issue-17758.rs:17:14
13 error: borrowed data escapes outside of function
14 --> $DIR/issue-17758.rs:17:9
17 | ----- `self` is a reference that is only valid in the function body
19 | ^^^^^^^^^^ `self` escapes the function body here
21 error: aborting due to previous error