]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/issue-52113.stderr
Account for --remap-path-prefix in save-analysis
[rust.git] / src / test / ui / nll / issue-52113.stderr
1 error[E0623]: lifetime mismatch
2   --> $DIR/issue-52113.rs:43:9
3    |
4 LL | fn produce_err<'a, 'b: 'a>(data: &'b mut Vec<&'b u32>, value: &'a u32) -> impl Bazinga + 'b {
5    |                                  --------------------         ------- these two types are declared with different lifetimes...
6 LL |     let x = move || { //~ ERROR lifetime mismatch
7    |         ^ ...but data from `value` flows into `data` here
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0623`.