]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-16683.nll.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-16683.nll.stderr
1 error[E0521]: borrowed data escapes outside of associated function
2 --> $DIR/issue-16683.rs:4:9
3 |
4 LL | fn b(&self) {
5 | ----- `self` is a reference that is only valid in the associated function body
6 LL | self.a();
7 | ^^^^^^^^ `self` escapes the associated function body here
8
9 error: aborting due to previous error
10