rust/tests/ui/macros/issue-19163.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
430 B
Plaintext
Raw Normal View History

error[E0596]: cannot borrow data in a `&` reference as mutable
2021-09-16 15:01:22 -05:00
--> $DIR/issue-19163.rs:9:5
2018-08-08 07:28:26 -05:00
|
LL | mywrite!(&v, "Hello world");
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable
2021-09-16 15:01:22 -05:00
|
= note: this error originates in the macro `mywrite` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-08 07:28:26 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0596`.