mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-24 04:32:52 +01:00
5 lines
298 B
Text
5 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
|