]> git.lizzy.rs Git - rust.git/blob - tests/ui/copy_iterator.stderr
Adapt the *.stderr files of the ui-tests to the tool_lints
[rust.git] / tests / ui / copy_iterator.stderr
1 error: you are implementing `Iterator` on a `Copy` type
2   --> $DIR/copy_iterator.rs:8:1
3    |
4 8  | / impl Iterator for Countdown {
5 9  | |     type Item = u8;
6 10 | |
7 11 | |     fn next(&mut self) -> Option<u8> {
8 ...  |
9 16 | |     }
10 17 | | }
11    | |_^
12    |
13    = note: `-D clippy::copy-iterator` implied by `-D warnings`
14    = note: consider implementing `IntoIterator` instead
15
16 error: aborting due to previous error
17