1error[E0596]: cannot borrow data in a `&` reference as mutable 2 --> $DIR/issue-19163.rs:9:5 3 | 4LL | mywrite!(&v, "Hello world"); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable 6 | 7 = note: this error originates in the macro `mywrite` (in Nightly builds, run with -Z macro-backtrace for more info) 8 9error: aborting due to previous error 10 11For more information about this error, try `rustc --explain E0596`. 12