diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-05-09 12:33:45 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-09 12:33:45 +0530 |
| commit | ff30b8cb7bcf3eaee7a5222c8ec35adba4a0d243 (patch) | |
| tree | d90ab8240dc85abb5809e70e78a54d647b86498c /tests/ui/array-slice-vec | |
| parent | 2ecc72217b4f134a1ae8b6433af9491bf5d26cf0 (diff) | |
| parent | 3e64e986fe1cbaa3679cd228a6900304ebf81018 (diff) | |
| download | rust-ff30b8cb7bcf3eaee7a5222c8ec35adba4a0d243.tar.gz rust-ff30b8cb7bcf3eaee7a5222c8ec35adba4a0d243.zip | |
Rollup merge of #110583 - Ezrashaw:tweak-make-mut-spans, r=estebank
tweak "make mut" spans when assigning to locals Work towards fixing #106857 This PR just cleans up a lot of spans which is helpful before properly fixing the issues. Best reviewed commit-by-commit. r? `@estebank`
Diffstat (limited to 'tests/ui/array-slice-vec')
| -rw-r--r-- | tests/ui/array-slice-vec/slice-mut-2.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/array-slice-vec/slice-mut-2.stderr b/tests/ui/array-slice-vec/slice-mut-2.stderr index 5b040d3e4d3..c33919c41cd 100644 --- a/tests/ui/array-slice-vec/slice-mut-2.stderr +++ b/tests/ui/array-slice-vec/slice-mut-2.stderr @@ -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 |
