mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-26 05:29:38 +01:00
9 lines
482 B
Text
9 lines
482 B
Text
error: lifetime may not live long enough
|
|
--> ui/lockall_lifetime_destruct_field.rs:23:13
|
|
|
|
|
22 | let _ = c.shared.lock(|foo::Shared { a }| {
|
|
| ------------------ return type of closure is &'2 mut &mut u32
|
|
| |
|
|
| has type `&'1 mut __rtic_internal_fooShared<'_>`
|
|
23 | a // lifetime
|
|
| ^ returning this value requires that `'1` must outlive `'2`
|