]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/copy_iterator.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / copy_iterator.stderr
index ced9293d1dc928f31943685ab99dcfb11e645430..34606df8595928a5f283c348e41faa37430d6d52 100644 (file)
@@ -1,13 +1,13 @@
 error: you are implementing `Iterator` on a `Copy` type
   --> $DIR/copy_iterator.rs:15:1
    |
-15 | / impl Iterator for Countdown {
-16 | |     type Item = u8;
-17 | |
-18 | |     fn next(&mut self) -> Option<u8> {
+LL | / impl Iterator for Countdown {
+LL | |     type Item = u8;
+LL | |
+LL | |     fn next(&mut self) -> Option<u8> {
 ...  |
-23 | |     }
-24 | | }
+LL | |     }
+LL | | }
    | |_^
    |
    = note: `-D clippy::copy-iterator` implied by `-D warnings`