mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
9 lines
452 B
Text
9 lines
452 B
Text
|
error: lifetime may not live long enough
|
||
|
--> ui/lockall_lifetime.rs:20:35
|
||
|
|
|
||
|
20 | let _ = c.shared.lock(|s| s); // lifetime
|
||
|
| -- ^ returning this value requires that `'1` must outlive `'2`
|
||
|
| ||
|
||
|
| |return type of closure is &'2 mut __rtic_internal_fooShared
|
||
|
| has type `&'1 mut __rtic_internal_fooShared`
|