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
Dylan-DPC authored Apr 3, 2020
2 parents f3e9251 + 9db7360 commit 8100c55
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 8100c55

Please sign in to comment.