1 error: borrowed data escapes outside of function
2 --> $DIR/issue-16683.rs:14:9
5 | ----- `self` is a reference that is only valid in the function body
6 LL | self.a(); //~ ERROR cannot infer
7 | ^^^^^^^^ `self` escapes the function body here
9 error: aborting due to previous error