$ cargo build
   Compiling e0502_borrow v0.1.0 (~/rust-book-examples/errors/e0502_borrow)
error[E0502]: cannot borrow `title` as mutable because it is also borrowed as immutable
 --> src/main.rs:8:5
  |
7 |     let first = &title; // 읽기용으로 빌림
  |                 ------ immutable borrow occurs here
8 |     title.push_str(" 입문"); // 읽기용 빌림이 아직 쓰이는 중인데 수정하려 함
  |     ^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
9 |     println!("{first}"); // 여기서 읽기용 빌림을 다시 사용
  |                ----- immutable borrow later used here

For more information about this error, try `rustc --explain E0502`.
error: could not compile `e0502_borrow` (bin "e0502_borrow") due to 1 previous error
