error[E0382]: use of moved value: `y`
 --> test.rs:7:6
  |
3 | let y = String::from("World!");
  |     - move occurs because `y` has type `std::string::String`,
  |     - which does not implement the `Copy` trait
4 | 
5 | x = y;
  |     - value moved here
6 | 
7 | dbg!(y);
  |      ^ value used here after move