summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/single_element_loop.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
commitdc0db358abe19481e475e10c32149b53370f1a1c (patch)
treeab8ce99c4b255ce46f99ef402c27916055b899ee /src/tools/clippy/tests/ui/single_element_loop.stderr
parentReleasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff)
downloadrustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz
rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tools/clippy/tests/ui/single_element_loop.stderr')
-rw-r--r--src/tools/clippy/tests/ui/single_element_loop.stderr14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/clippy/tests/ui/single_element_loop.stderr b/src/tools/clippy/tests/ui/single_element_loop.stderr
index 14437a597..c40c61989 100644
--- a/src/tools/clippy/tests/ui/single_element_loop.stderr
+++ b/src/tools/clippy/tests/ui/single_element_loop.stderr
@@ -1,5 +1,5 @@
error: for loop over a single element
- --> $DIR/single_element_loop.rs:7:5
+ --> $DIR/single_element_loop.rs:9:5
|
LL | / for item in &[item1] {
LL | | dbg!(item);
@@ -16,7 +16,7 @@ LL + }
|
error: for loop over a single element
- --> $DIR/single_element_loop.rs:11:5
+ --> $DIR/single_element_loop.rs:13:5
|
LL | / for item in [item1].iter() {
LL | | dbg!(item);
@@ -32,7 +32,7 @@ LL + }
|
error: for loop over a single element
- --> $DIR/single_element_loop.rs:15:5
+ --> $DIR/single_element_loop.rs:17:5
|
LL | / for item in &[0..5] {
LL | | dbg!(item);
@@ -48,7 +48,7 @@ LL + }
|
error: for loop over a single element
- --> $DIR/single_element_loop.rs:19:5
+ --> $DIR/single_element_loop.rs:21:5
|
LL | / for item in [0..5].iter_mut() {
LL | | dbg!(item);
@@ -64,7 +64,7 @@ LL + }
|
error: for loop over a single element
- --> $DIR/single_element_loop.rs:23:5
+ --> $DIR/single_element_loop.rs:25:5
|
LL | / for item in [0..5] {
LL | | dbg!(item);
@@ -80,7 +80,7 @@ LL + }
|
error: for loop over a single element
- --> $DIR/single_element_loop.rs:27:5
+ --> $DIR/single_element_loop.rs:29:5
|
LL | / for item in [0..5].into_iter() {
LL | | dbg!(item);
@@ -96,7 +96,7 @@ LL + }
|
error: for loop over a single element
- --> $DIR/single_element_loop.rs:46:5
+ --> $DIR/single_element_loop.rs:48:5
|
LL | / for _ in [42] {
LL | | let _f = |n: u32| {