1
Fork 0

tweak "make mut" spans when assigning to locals

This commit is contained in:
Ezra Shaw 2023-04-19 18:22:03 +12:00 committed by Ezra Shaw
parent 3320f2fab6
commit fd8aa5ec7d
No known key found for this signature in database
GPG key ID: 5156CF5845150B0D
12 changed files with 46 additions and 41 deletions

View file

@ -7,7 +7,7 @@ LL | let _ = &mut x[2..4];
help: consider changing this to be a mutable reference
|
LL | let x: &[isize] = &mut [1, 2, 3, 4, 5];
| ~~~~~~~~~~~~~~~~~~~~
| +++
error: aborting due to previous error