about summary refs log tree commit diff
path: root/tests/ui/traits/default-method/bound-subst4.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/default-method/bound-subst4.rs')
-rw-r--r--tests/ui/traits/default-method/bound-subst4.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/default-method/bound-subst4.rs b/tests/ui/traits/default-method/bound-subst4.rs
index ef133064582..6bc4cf0ef80 100644
--- a/tests/ui/traits/default-method/bound-subst4.rs
+++ b/tests/ui/traits/default-method/bound-subst4.rs
@@ -4,7 +4,7 @@
 
 trait A<T> {
     fn g(&self, x: usize) -> usize { x }
-    fn h(&self, x: T) { }
+    fn h(&self, x: T) { } //~ WARN method `h` is never used
 }
 
 impl<T> A<T> for isize { }