]> git.lizzy.rs Git - rust.git/blob - src/test/ui/regions/regions-outlives-projection-container-wc.nll.stderr
Rollup merge of #59822 - GuillaumeGomez:fix-dark-theme-css, r=Manishearth
[rust.git] / src / test / ui / regions / regions-outlives-projection-container-wc.nll.stderr
1 error: lifetime may not live long enough
2   --> $DIR/regions-outlives-projection-container-wc.rs:37:12
3    |
4 LL | fn with_assoc<'a,'b>() {
5    |               -- -- lifetime `'b` defined here
6    |               |
7    |               lifetime `'a` defined here
8 ...
9 LL |     let _: &'a WithAssoc<TheType<'b>> = loop { };
10    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
11
12 error: aborting due to previous error
13