$ rustc move1_bad.rs 
error[E0382]: use of moved value: `name1`
 --> move1_bad.rs:9:28
  |
3 |     let name2 = name1;
  |         ----- value moved here
...
9 |     println!("私の名前は{}です。", name1);
  |                                    ^^^^^ value used here after move
  |
  = note: move occurs because `name1` has type `std::string::String`, which does not implement the `Copy` trait

error: aborting due to previous error

For more information about this error, try `rustc --explain E0382`.