Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-19163.rs
blob: d98c5912af2ee76ee53794572563c65bdaa9f825 [
file
] [
log
] [
blame
]
// 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
}