]> git.lizzy.rs Git - rust.git/blob - src/test/ui/regions/regions-outlives-projection-container-wc.nll.stderr
Change NLL compare mode to borrowck=migrate.
[rust.git] / src / test / ui / regions / regions-outlives-projection-container-wc.nll.stderr
1 error: unsatisfied lifetime constraints
2   --> $DIR/regions-outlives-projection-container-wc.rs:46:13
3    |
4 LL | fn with_assoc<'a,'b>() {
5    |               -- -- lifetime `'b` defined here
6    |               |
7    |               lifetime `'a` defined here
8 ...
9 LL |     let _x: &'a WithAssoc<TheType<'b>> = loop { };
10    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
11
12 error: aborting due to previous error
13