]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-93486.stderr
Rollup merge of #95426 - b-naber:valtrees-slice, r=RalfJung,oli-obk
[rust.git] / src / test / ui / typeck / issue-93486.stderr
1 error[E0070]: invalid left-hand side of assignment
2   --> $DIR/issue-93486.rs:3:36
3    |
4 LL |         vec![].last_mut().unwrap() = 3_u8;
5    |         -------------------------- ^
6    |         |
7    |         cannot assign to this expression
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0070`.