Skip to content

Commit 8100c55

Browse files
authored
Rollup merge of #70735 - GuillaumeGomez:cleanup-e0502, r=Dylan-DPC
Clean up E0502 explanation r? @Dylan-DPC
2 parents f3e9251 + 9db7360 commit 8100c55

File tree

1 file changed

+1
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+1
-2
lines changed

src/librustc_error_codes/error_codes/E0502.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
This error indicates that you are trying to borrow a variable as mutable when it
2-
has already been borrowed as immutable.
1+
A variable already borrowed as immutable was borrowed as mutable.
32

43
Erroneous code example:
54

0 commit comments

Comments
 (0)