error[E0521]: borrowed data escapes outside of associated function | |
--> $DIR/issue-16683.rs:4:9 | |
| | |
LL | fn b(&self) { | |
| ----- `self` is a reference that is only valid in the associated function body | |
LL | self.a(); | |
| ^^^^^^^^ `self` escapes the associated function body here | |
error: aborting due to previous error | |