Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
issue-19163.rs
blob: e08bd6e393bdb6db8d027d8b9c3b9a1aa6021a53 [
file
] [
log
] [
blame
] [
edit
]
//@ aux-build:issue-19163.rs
#[
macro_use
]
extern
crate issue_19163
;
use
std
::
io
::
Write
;
fn
main
()
{
let
mut
v
=
vec
![];
mywrite
!(&
v
,
"Hello world"
);
//~^ ERROR cannot borrow data in a `&` reference as mutable
}