blob: 7ad518e449bd9ca4f0a3bd3a7d0fbc95622abd5a [file] [log] [blame]
warning: method `clone_first` is never used
--> $DIR/issue-23485.rs:20:8
|
LL | trait Iterator {
| -------- method in this trait
...
LL | fn clone_first(mut self) -> Option<<Self::Item as Deref>::Target> where
| ^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: 1 warning emitted