Confusing error message wording for moving out of non-copy slices. #36407
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
https://is.gd/iH1SwT
It refers to the slice as a fixed-sized array. This can also be reproduced with a
Vec<String>
by indexing(*x)[0]
instead of indexingx[0]
.The text was updated successfully, but these errors were encountered: