Advertisement
Guest User

Untitled

a guest
Apr 26th, 2020
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. error[E0623]: lifetime mismatch
  2. --> src/executor.rs:80:48
  3. |
  4. 79 | fn simple_evaluate_test<'a, 'b>(ctx: &Context<'a>, val: ValueKind<'b>) {
  5. | ----------- -------------
  6. | |
  7. | these two types are declared with different lifetimes...
  8. 80 | let simple_val = Arc::new(simple_value(val.clone()));
  9. | ^^^^^^^^^^^ ...but data from `ctx` flows into `val` here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement