mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
14 lines
333 B
Plaintext
14 lines
333 B
Plaintext
warning: method `iter_` is never used
|
|
--> $DIR/static-impl.rs:38:8
|
|
|
|
|
LL | trait vec_utils<T> {
|
|
| --------- method in this trait
|
|
LL | fn length_(&self, ) -> usize;
|
|
LL | fn iter_<F>(&self, f: F) where F: FnMut(&T);
|
|
| ^^^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|