]> git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/user-annotations/normalization.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / nll / user-annotations / normalization.stderr
1 error[E0597]: `a` does not live long enough
2 --> $DIR/normalization.rs:9:31
3 |
4 LL | let b: <() as Foo>::Out = &a;
5 | ---------------- ^^ borrowed value does not live long enough
6 | |
7 | type annotation requires that `a` is borrowed for `'static`
8 LL | }
9 | - `a` dropped here while still borrowed
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0597`.