1 2 3 4 5 6 7 8
use fn_error_context::context; #[context(move, "context")] async fn borrows(val: &mut u32) -> anyhow::Result<&u32> { Ok(&*val) } fn main() {}