blob: 92bbe70d9ce574e0a0b7dd524762a4c1cb299c6f (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0389]: cannot borrow data mutably in a `&` reference
--> $DIR/issue-42344.rs:14:5
|
LL | TAB[0].iter_mut(); //~ ERROR cannot borrow data mutably in a `&` reference [E0389]
| ^^^^^^ assignment into an immutable reference
error: aborting due to previous error
For more information about this error, try `rustc --explain E0389`.
|