error[E0521]: borrowed data escapes outside of closure
--> tests/compile/callback_value_escapes.rs:9:13
|
5 | let mut escaped: Option<Table<'_>> = None;
| ----------- `escaped` declared here, outside of the closure body
...
9 | escaped = Some(arguments.next::<Table<'_>>()?);
| ^^^^^^^ a temporary borrow escapes the closure body here
|
= help: `escaped` is declared outside the closure, so any data borrowed inside the closure cannot be stored into it