$ touch log_borrow1_bad.txt
$ rustc borrow1_bad.rs 
error[E0308]: mismatched types
 --> borrow1_bad.rs:3:15
  |
3 |     introduce(name);
  |               ^^^^
  |               |
  |               expected reference, found struct `std::string::String`
  |               help: consider borrowing here: `&name`
  |
  = note: expected type `&std::string::String`
             found type `std::string::String`

error: aborting due to previous error

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