mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-26 13:39:41 +01:00
6 lines
298 B
Text
6 lines
298 B
Text
|
error[E0507]: cannot move out of `s.a` which is behind a mutable reference
|
||
|
--> ui/lockall_move_out_field.rs:22:35
|
||
|
|
|
||
|
22 | let _ = c.shared.lock(|s| s.a);
|
||
|
| ^^^ move occurs because `s.a` has type `&mut u32`, which does not implement the `Copy` trait
|