mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-20 19:47:33 +00:00
Clean E0382 and E0384 explanations
This commit is contained in:
parent
01a8b5f26e
commit
6b28a8c46f
@ -1,5 +1,4 @@
|
|||||||
This error occurs when an attempt is made to use a variable after its contents
|
A variable was used after its contents have been moved elsewhere.
|
||||||
have been moved elsewhere.
|
|
||||||
|
|
||||||
Erroneous code example:
|
Erroneous code example:
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
This error occurs when an attempt is made to reassign an immutable variable.
|
An immutable variable was reassigned.
|
||||||
|
|
||||||
Erroneous code example:
|
Erroneous code example:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user