error[E0382]: borrow of moved value: `u` --> src\main.rs:13:21
|8|let u: User= User{| - move occurs because `u` has type`User`, which does not implement the `Copy` trait
...
12|letanother_u= u;| - value moved here
13| println!("{:?}",u);| ^ value borrowed here after move
|note: if`User` implemented `Clone`, you could clone the value
--> src\main.rs:3:1
|3| struct User {| ^^^^^^^^^^^ consider implementing `Clone`for this type...
12|letanother_u= u;| - you could clone this value= note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println`(in Nightly builds, run with -Z macro-backtrace for more info)