```error[E0515]: cannot return value referencing l...
# development
h
Copy code
error[E0515]: cannot return value referencing local variable `file_contents_and_directories`
   --> src/intrinsics.rs:364:3
    |
331 |     let digests: Vec<_> = file_contents_and_directories
    |                           ----------------------------- `file_contents_and_directories` is borrowed here
...
364 | /   async move {
365 | |     let digests = future::try_join_all(digests).await.map_err(|e| throw(&e))?;
366 | |     let digest = store
367 | |       .merge(digests)
...   |
371 | |   }
372 | |   .boxed()
    | |__________^ returns a value referencing data owned by the current function

error: aborting due to previous error

For more information about this error, try `rustc --explain E0515`.