]> git.proxmox.com Git - rustc.git/blame - src/test/ui/nll/issue-46036.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / nll / issue-46036.stderr
CommitLineData
8faf50e0 1error[E0597]: `a` does not live long enough
48663c56 2 --> $DIR/issue-46036.rs:8:24
8faf50e0 3 |
532ac7d7 4LL | let foo = Foo { x: &a };
0bf4aa26
XL
5 | ^^
6 | |
7 | borrowed value does not live long enough
c295e0f8 8 | this usage requires that `a` is borrowed for `'static`
8faf50e0
XL
9LL | loop { }
10LL | }
11 | - `a` dropped here while still borrowed
8faf50e0
XL
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0597`.