fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
451 B13 linesraw
1error: lifetime may not live long enough
2  --> $DIR/regions-outlives-projection-container-wc.rs:33:12
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`
11
12error: aborting due to previous error
13