1 error[E0521]: borrowed data escapes outside of associated function
2 --> $DIR/issue-17758.rs:7:9
5 | -- lifetime `'a` defined here
10 | `self` is a reference that is only valid in the associated function body
11 | let's call the lifetime of this reference `'1`
15 | `self` escapes the associated function body here
16 | argument requires that `'1` must outlive `'a`
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0521`.