]> git.proxmox.com Git - rustc.git/blame - src/test/ui/did_you_mean/issue-37139.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / did_you_mean / issue-37139.stderr
CommitLineData
7cac9316 1error[E0596]: cannot borrow immutable local variable `x` as mutable
0731742a 2 --> $DIR/issue-37139.rs:12:23
476ff2be 3 |
532ac7d7 4LL | test(&mut x);
476ff2be
SL
5 | ^
6 | |
476ff2be 7 | cannot reborrow mutably
3b2f2976 8 | try removing `&mut` here
476ff2be 9
041b39d2 10error: aborting due to previous error
476ff2be 11
0531ce1d 12For more information about this error, try `rustc --explain E0596`.