]> git.proxmox.com Git - rustc.git/blame - src/test/ui/regions/regions-outlives-projection-container-wc.nll.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / regions / regions-outlives-projection-container-wc.nll.stderr
CommitLineData
9fa01778 1error: lifetime may not live long enough
e1599b0c 2 --> $DIR/regions-outlives-projection-container-wc.rs:33:12
9fa01778
XL
3 |
4LL | fn with_assoc<'a,'b>() {
5 | -- -- lifetime `'b` defined here
6 | |
7 | lifetime `'a` defined here
8...
9LL | let _: &'a WithAssoc<TheType<'b>> = loop { };
10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
60c5eb7d
XL
11 |
12 = help: consider adding the following bound: `'b: 'a`
9fa01778
XL
13
14error: aborting due to previous error
15