about summary refs log tree commit diff
path: root/tests/ui/moves/issue-22536-copy-mustnt-zero.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/moves/issue-22536-copy-mustnt-zero.rs')
-rw-r--r--tests/ui/moves/issue-22536-copy-mustnt-zero.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/moves/issue-22536-copy-mustnt-zero.rs b/tests/ui/moves/issue-22536-copy-mustnt-zero.rs
index 017f36484c1..b3fc1a56f88 100644
--- a/tests/ui/moves/issue-22536-copy-mustnt-zero.rs
+++ b/tests/ui/moves/issue-22536-copy-mustnt-zero.rs
@@ -5,7 +5,7 @@
 
 trait Resources {
     type Buffer: Copy;
-    fn foo(&self) {}
+    fn foo(&self) {} //~ WARN method `foo` is never used
 }
 
 struct BufferHandle<R: Resources> {