rtic/ui/lockall_lifetime.stderr

9 lines
460 B
Text
Raw Permalink Normal View History

2021-10-26 19:35:41 +02:00
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`
| ||
2021-11-03 20:58:21 +01:00
| |return type of closure is &'2 mut __rtic_internal_fooShared<'_>
| has type `&'1 mut __rtic_internal_fooShared<'_>`