]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/copy_iterator.stderr
Auto merge of #8374 - Alexendoo:bless-revisions, r=camsteffen
[rust.git] / tests / ui / copy_iterator.stderr
index 9a06a52d4bb52a2a0afe8c7a37be8b627d835c40..f8ce6af7961a6148bb94eaae5b9815cd8f1617dd 100644 (file)
@@ -1,13 +1,13 @@
 error: you are implementing `Iterator` on a `Copy` type
-  --> $DIR/copy_iterator.rs:8:1
+  --> $DIR/copy_iterator.rs:6:1
    |
- | / impl Iterator for Countdown {
- | |     type Item = u8;
-10 | |
-11 | |     fn next(&mut self) -> Option<u8> {
+LL | / impl Iterator for Countdown {
+LL | |     type Item = u8;
+LL | |
+LL | |     fn next(&mut self) -> Option<u8> {
 ...  |
-16 | |     }
-17 | | }
+LL | |     }
+LL | | }
    | |_^
    |
    = note: `-D clippy::copy-iterator` implied by `-D warnings`