Skip to content

Commit

Permalink
chore: rebase master
Browse files Browse the repository at this point in the history
  • Loading branch information
granddaifuku committed Feb 17, 2024
1 parent dad826c commit be3c03a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ui/manual_memcpy/without_loop_counters.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ LL | | }
| |_____^ help: try replacing the loop by: `dst.copy_from_slice(&src);`

error: it looks like you're manually copying between slices
--> $DIR/without_loop_counters.rs:201:5
--> $DIR/manual_memcpy/without_loop_counters.rs:201:5
|
LL | / for i in 0..5 {
LL | |
Expand All @@ -154,7 +154,7 @@ LL | | }
| |_____^ help: try replacing the loop by: `dst.copy_from_slice(&src[0]);`

error: it looks like you're manually copying between slices
--> $DIR/without_loop_counters.rs:207:5
--> $DIR/manual_memcpy/without_loop_counters.rs:207:5
|
LL | / for i in 0..5 {
LL | |
Expand All @@ -163,7 +163,7 @@ LL | | }
| |_____^ help: try replacing the loop by: `dst.copy_from_slice(&src[0][1]);`

error: it looks like you're manually copying between slices
--> $DIR/without_loop_counters.rs:215:5
--> $DIR/manual_memcpy/without_loop_counters.rs:215:5
|
LL | / for i in 0..src.len() {
LL | |
Expand Down

0 comments on commit be3c03a

Please sign in to comment.