mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
14 lines
332 B
Plaintext
14 lines
332 B
Plaintext
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)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|