rust/tests/ui/statics/static-impl.stderr
2025-08-19 21:27:10 +02:00

14 lines
361 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)]` (part of `#[warn(unused)]`) on by default
warning: 1 warning emitted