summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/range.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/range.stderr')
-rw-r--r--src/tools/clippy/tests/ui/range.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/range.stderr b/src/tools/clippy/tests/ui/range.stderr
new file mode 100644
index 000000000..dcb506137
--- /dev/null
+++ b/src/tools/clippy/tests/ui/range.stderr
@@ -0,0 +1,10 @@
+error: it is more idiomatic to use `v1.iter().enumerate()`
+ --> $DIR/range.rs:5:14
+ |
+LL | let _x = v1.iter().zip(0..v1.len());
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: `-D clippy::range-zip-with-len` implied by `-D warnings`
+
+error: aborting due to previous error
+