Skip to content

Commit

Permalink
Rollup merge of rust-lang#70735 - GuillaumeGomez:cleanup-e0502, r=Dyl…
Browse files Browse the repository at this point in the history
…an-DPC

Clean up E0502 explanation

r? @Dylan-DPC
  • Loading branch information
Centril authored Apr 3, 2020
2 parents 80690b0 + 9db7360 commit 0f56ccd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc_error_codes/error_codes/E0502.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
This error indicates that you are trying to borrow a variable as mutable when it
has already been borrowed as immutable.
A variable already borrowed as immutable was borrowed as mutable.

Erroneous code example:

Expand Down

0 comments on commit 0f56ccd

Please sign in to comment.