]> git.proxmox.com Git - rustc.git/blame - tests/ui/issues/issue-5239-1.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / issues / issue-5239-1.stderr
CommitLineData
ff7c6d11 1error[E0368]: binary assignment operation `+=` cannot be applied to type `&isize`
0731742a 2 --> $DIR/issue-5239-1.rs:4:30
ff7c6d11 3 |
0531ce1d 4LL | let x = |ref x: isize| { x += 1; };
ff7c6d11
XL
5 | -^^^^^
6 | |
7 | cannot use `+=` on type `&isize`
8
4b012472 9error: aborting due to 1 previous error
ff7c6d11 10
0531ce1d 11For more information about this error, try `rustc --explain E0368`.