]> git.proxmox.com Git - rustc.git/blame - tests/ui/regions/regions-assoc-type-in-supertrait-outlives-container.stderr
bump version to 1.79.0+dfsg1-1~bpo12+pve2
[rustc.git] / tests / ui / regions / regions-assoc-type-in-supertrait-outlives-container.stderr
CommitLineData
9fa01778 1error: lifetime may not live long enough
923072b8 2 --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:36: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 { };
9c376795 10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'b` must outlive `'a`
60c5eb7d
XL
11 |
12 = help: consider adding the following bound: `'b: 'a`
9fa01778 13
4b012472 14error: aborting due to 1 previous error
9fa01778 15