]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-40510-3.nll.stderr
Account for --remap-path-prefix in save-analysis
[rust.git] / src / test / ui / issue-40510-3.nll.stderr
1 error: unsatisfied lifetime constraints
2   --> $DIR/issue-40510-3.rs:18:9
3    |
4 LL |         || {
5    |    _____-
6    |   |_____|
7    |  ||
8 LL |  ||         || {
9    |  ||_________^
10 LL | |||             x.push(())
11 LL | |||         }
12    | |||_________^ requires that `'1` must outlive `'2`
13 LL |  ||     };
14    |  ||     -
15    |  ||_____|
16    |  |______lifetime `'1` represents the closure body
17    |         lifetime `'2` appears in return type
18
19 error: aborting due to previous error
20