about summary refs log tree commit diff
path: root/tests/ui/statics/static-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/statics/static-impl.rs')
-rw-r--r--tests/ui/statics/static-impl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/statics/static-impl.rs b/tests/ui/statics/static-impl.rs
index e7bdb38ee62..9e2db7e0caf 100644
--- a/tests/ui/statics/static-impl.rs
+++ b/tests/ui/statics/static-impl.rs
@@ -35,7 +35,7 @@ impl uint_utils for usize {
 
 trait vec_utils<T> {
     fn length_(&self, ) -> usize;
-    fn iter_<F>(&self, f: F) where F: FnMut(&T);
+    fn iter_<F>(&self, f: F) where F: FnMut(&T); //~ WARN method `iter_` is never used
     fn map_<U, F>(&self, f: F) -> Vec<U> where F: FnMut(&T) -> U;
 }